rework following Saajan Nagendra's review
This commit is contained in:
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.baeldung.checkInterface;
|
||||
package com.baeldung.checkinterface;
|
||||
|
||||
public class ChildClass1 implements ChildInterface1 {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.baeldung.checkInterface;
|
||||
package com.baeldung.checkinterface;
|
||||
|
||||
public class ChildClass2 implements ChildInterface2 {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.baeldung.checkInterface;
|
||||
package com.baeldung.checkinterface;
|
||||
|
||||
public interface ChildInterface1 extends MasterInterface {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.baeldung.checkInterface;
|
||||
package com.baeldung.checkinterface;
|
||||
|
||||
public interface ChildInterface2 extends MasterInterface {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.baeldung.checkInterface;
|
||||
package com.baeldung.checkinterface;
|
||||
|
||||
public class MasterClass implements MasterInterface {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.baeldung.checkInterface;
|
||||
package com.baeldung.checkinterface;
|
||||
|
||||
public interface MasterInterface {
|
||||
|
||||
+5
-1
@@ -1,4 +1,4 @@
|
||||
package com.baeldung.checkInterface;
|
||||
package com.baeldung.checkinterface;
|
||||
|
||||
import static org.junit.jupiter.api.Assertions.assertFalse;
|
||||
import static org.junit.jupiter.api.Assertions.assertTrue;
|
||||
@@ -13,6 +13,10 @@ import org.junit.jupiter.api.Test;
|
||||
import org.reflections.ReflectionUtils;
|
||||
import org.reflections.Reflections;
|
||||
|
||||
import com.baeldung.checkinterface.ChildClass2;
|
||||
import com.baeldung.checkinterface.ChildInterface2;
|
||||
import com.baeldung.checkinterface.MasterInterface;
|
||||
|
||||
public class CheckInterfaceUnitTest {
|
||||
|
||||
protected static Reflections reflections;
|
||||
Reference in New Issue
Block a user