File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
weixin-java-cp/src/test/java/me/chanjar/weixin/cp/tp/service/impl Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1313
1414import static me .chanjar .weixin .cp .constant .WxCpApiPathConsts .Tp .GET_CUSTOMIZED_APP_DETAIL ;
1515import static me .chanjar .weixin .cp .constant .WxCpApiPathConsts .Tp .GET_TEMPLATE_LIST ;
16- import static org .mockito .ArgumentMatchers .any ;
17- import static org .mockito .ArgumentMatchers .eq ;
16+ import static org .mockito .Matchers .any ;
17+ import static org .mockito .Matchers .eq ;
1818import static org .mockito .Mockito .when ;
1919import static org .testng .Assert .assertEquals ;
2020import static org .testng .Assert .assertNotNull ;
@@ -39,7 +39,7 @@ public class WxCpTpCustomizedServiceImplTest {
3939 */
4040 @ BeforeClass
4141 public void setUp () {
42- MockitoAnnotations .openMocks (this );
42+ MockitoAnnotations .initMocks (this );
4343 configStorage = new WxCpTpDefaultConfigImpl ();
4444 when (wxCpTpService .getWxCpTpConfigStorage ()).thenReturn (configStorage );
4545 wxCpTpCustomizedService = new WxCpTpCustomizedServiceImpl (wxCpTpService );
You can’t perform that action at this time.
0 commit comments