This commit is contained in:
Ken Stevens 2019-11-13 17:14:13 -05:00 committed by James Agnew
parent ad8930fdba
commit 1fff132f8e
1 changed files with 3 additions and 1 deletions

View File

@ -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);
} }