Home
last modified time | relevance | path

Searched refs:importLogDao (Results 1 – 1 of 1) sorted by relevance

/external/mockito/src/test/java/org/mockitousage/
DPlaygroundWithDemoOfUnclonedParametersProblemTest.java27 ImportLogDao importLogDao; field in PlaygroundWithDemoOfUnclonedParametersProblemTest
32 importLogDao = Mockito.mock(ImportLogDao.class); in setUp()
34 importManager = new ImportManager(importLogDao); in setUp()
46 … given(importLogDao.anyImportRunningOrRunnedToday(importType, currentDate)).willReturn(false); in shouldIncludeInitialLog()
47 … willAnswer(byCheckingLogEquals(initialLog)).given(importLogDao).include(any(ImportLogBean.class)); in shouldIncludeInitialLog()
53 verify(importLogDao).include(any(ImportLogBean.class)); in shouldIncludeInitialLog()
65 … given(importLogDao.anyImportRunningOrRunnedToday(importType, currentDate)).willReturn(false); in shouldAlterFinalLog()
66 … willAnswer(byCheckingLogEquals(finalLog)).given(importLogDao).alter(any(ImportLogBean.class)); in shouldAlterFinalLog()
72 verify(importLogDao).alter(any(ImportLogBean.class)); in shouldAlterFinalLog()
89 importLogDao = pImportLogDao;
[all …]