This commit is contained in:
amit2103 2019-06-29 20:56:30 +05:30
parent 783a93fb47
commit 11b02b5ba6
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ public class MockitoInjectIntoSpyUnitTest {
private MyDictionary spyDic;
@Test
public void whenUseInjectMocksAnnotation_thenCorrect2() {
public void whenUseInjectMocksAnnotation_thenCorrect() {
Mockito.when(wordMap.get("aWord")).thenReturn("aMeaning");
assertEquals("aMeaning", spyDic.getMeaning("aWord"));