testCompile('org.mockito:mockito-core:1.10.19') ... } ... 現在就用Mockito 來完成這需求的測試案例。 ... anyString()) Mockito.verify(mockLogger).log(Mockito.
確定! 回上一頁