PowerMock最強大的地方,就是可以幫我們mock static method,還可以幫 ... mockStatic(DOC.class); doReturn(expectData).when(DOC.class); DOC.
確定! 回上一頁