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