mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-17 04:59:21 +00:00
refactor: remove code smell java:S5786 (#2159)
https://sonarcloud.io/organizations/iluwatar/rules?open=java%3AS5786&rule_key=java%3AS5786
This commit is contained in:
+1
-1
@@ -33,7 +33,7 @@ import org.junit.jupiter.api.Test;
|
||||
*
|
||||
* @author Jeroen Meulemeester
|
||||
*/
|
||||
public class FileLoaderTest {
|
||||
class FileLoaderTest {
|
||||
|
||||
@Test
|
||||
void testLoadData() {
|
||||
|
||||
+2
-2
@@ -36,7 +36,7 @@ import org.junit.jupiter.api.Test;
|
||||
* This test case is responsible for testing our application by taking advantage of the
|
||||
* Model-View-Controller architectural pattern.
|
||||
*/
|
||||
public class FileSelectorPresenterTest {
|
||||
class FileSelectorPresenterTest {
|
||||
|
||||
/**
|
||||
* The Presenter component.
|
||||
@@ -57,7 +57,7 @@ public class FileSelectorPresenterTest {
|
||||
* Initializes the components of the test case.
|
||||
*/
|
||||
@BeforeEach
|
||||
public void setUp() {
|
||||
void setUp() {
|
||||
this.stub = new FileSelectorStub();
|
||||
this.loader = new FileLoader();
|
||||
presenter = new FileSelectorPresenter(this.stub);
|
||||
|
||||
Reference in New Issue
Block a user