added
test
This commit is contained in:
parent
af36a690b1
commit
63d78e1f1e
|
@ -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);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user