随笔分类 - 测试
摘要:@PropertySource("tempest-${spring.profiles.active}.properties") @PropertySource(factory = YamlPropertySourceFactory.class, value = "classpath:SlaTimeMap.yml") import com.citi.tm.api.report.portfolio.t
阅读全文
摘要:import static org.mockito.Mockito.*;import static org.junit.Assert.*; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;import or
阅读全文
摘要:@Mock(answer = Answers.RETURNS_DEEP_STUBS) package com.test.junitTest; import static org.junit.Assert.assertEquals; import static org.mockito.Mockito.doThrow; import static org.mockito.Mockito.moc...
阅读全文
浙公网安备 33010602011771号