test
This commit is contained in:
snoop 2017-06-23 14:45:51 +09:00
parent af36a690b1
commit 63d78e1f1e

View File

@ -13,6 +13,8 @@ import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration; import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import java.util.List;
import static org.junit.Assert.*; import static org.junit.Assert.*;
/** /**
@ -73,4 +75,15 @@ public class NoAuthProbeDAOTest {
} }
@Test
public void list() {
List<NoAuthProbe> probes = this.noAuthProbeDAO.findAllByDomainId(1);
Assert.assertNotEquals(probes.size(), 0);
}
} }