{"author_url":"https://blog.hatena.ne.jp/dk521123/","blog_title":"\u30d7\u30ed\u30b0\u30e9\u30e0 \u306e\u8d85\u500b\u4eba\u7684\u306a\u30e1\u30e2","published":"2018-04-06 23:06:00","type":"rich","author_name":"dk521123","provider_name":"Hatena Blog","description":"\u25a0 \u30a8\u30e9\u30fc\u300cMissingMethodInvocationException\u300d\u304c\u8868\u793a\u3055\u308c\u308b * \u30c6\u30b9\u30c8\u3092\u5b9f\u884c\u3057\u305f\u969b\u306b\u3001\u4ee5\u4e0b\u306e\u300c\u30a8\u30e9\u30fc\u5185\u5bb9\u300d\u304c\u8868\u793a\u3055\u308c\u308b \u30a8\u30e9\u30fc\u5185\u5bb9 org.mockito.exceptions.misusing.MissingMethodInvocationException: when() requires an argument which has to be 'a method call on a mock'. For example: when(mock.getArticles()).thenReturn(articles); Also, this error migh\u2026","version":"1.0","categories":["\u30c8\u30e9\u30d6\u30eb/Java"],"image_url":null,"url":"https://dk521123.hatenablog.com/entry/37484598","blog_url":"https://dk521123.hatenablog.com/","width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdk521123.hatenablog.com%2Fentry%2F37484598\" title=\"\u3010\u30c8\u30e9\u30d6\u30eb\u3011PowerMock \u306b\u95a2\u3059\u308b\u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0 - \u30d7\u30ed\u30b0\u30e9\u30e0 \u306e\u8d85\u500b\u4eba\u7684\u306a\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog","title":"\u3010\u30c8\u30e9\u30d6\u30eb\u3011PowerMock \u306b\u95a2\u3059\u308b\u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0","height":"190"}