diff --git a/src/test/java/com/loafle/overflow/module/noauthprobe/dao/NoAuthProbeDAOTest.java b/src/test/java/com/loafle/overflow/module/noauthprobe/dao/NoAuthProbeDAOTest.java index 3a4bbb6..0417c8b 100644 --- a/src/test/java/com/loafle/overflow/module/noauthprobe/dao/NoAuthProbeDAOTest.java +++ b/src/test/java/com/loafle/overflow/module/noauthprobe/dao/NoAuthProbeDAOTest.java @@ -13,6 +13,8 @@ import org.springframework.beans.factory.annotation.Autowired; import org.springframework.test.context.ContextConfiguration; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; +import java.util.List; + import static org.junit.Assert.*; /** @@ -73,4 +75,15 @@ public class NoAuthProbeDAOTest { } + @Test + public void list() { + + + List probes = this.noAuthProbeDAO.findAllByDomainId(1); + + + Assert.assertNotEquals(probes.size(), 0); + + } + } \ No newline at end of file