JSONObject json = new JSONObject(); PowerMockito.whenNew(JSONObject.class).withNoArguments().thenReturn(json); [...] assertThat(json.get("bla"), ...
確定! 回上一頁