fix test
This commit is contained in:
parent
ad8930fdba
commit
1fff132f8e
|
@ -26,7 +26,9 @@ public class PersistedJpaBundleProviderTest {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void zeroNumFoundDoesntCallCache() {
|
public void zeroNumFoundDoesntCallCache() {
|
||||||
myPersistedJpaBundleProvider.setSearchEntity(new Search());
|
Search searchEntity = new Search();
|
||||||
|
searchEntity.setTotalCount(1);
|
||||||
|
myPersistedJpaBundleProvider.setSearchEntity(searchEntity);
|
||||||
myPersistedJpaBundleProvider.doSearchOrEverything(0, 0);
|
myPersistedJpaBundleProvider.doSearchOrEverything(0, 0);
|
||||||
verifyNoInteractions(myDao);
|
verifyNoInteractions(myDao);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue