{"description":"\u7d4c\u7def mockito\u4f7f\u3063\u3066\u3001static\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u3063\u3066\u3044\u308b\u7b87\u6240\u3092\u30e2\u30c3\u30af\u5316\u3057\u305f\u306e\u3060\u304c\u3001\u4ed6\u306estatic\u30e1\u30bd\u30c3\u30c9\u3092\u547c\u3093\u3060\u3089\u3001null\u304c\u5e30\u3063\u3066\u304d\u305f\u3002 \u5b9f\u88c5\u306f\u3001null\u304c\u8fd4\u3063\u3066\u304f\u308b\u3053\u3068\u306f\u306a\u3044\u306f\u305a\u306a\u3093\u3060\u304c\u3001\u306a\u305c\u304b\u5e30\u3063\u3066\u304d\u3066\u3044\u3066\u3001\u60a9\u3093\u3060\u306e\u3067\u3001\u30e1\u30e2\u3002 \u539f\u56e0 \u7c21\u5358\u306b\u8a00\u3046\u3068\u3001\u30e2\u30c3\u30af\u5316\u3059\u308b\u3053\u3068\u3067\u3001\u4ed6\u306estatic\u30e1\u30bd\u30c3\u30c9\u3082\u30e2\u30c3\u30af\u5316\u3055\u308c\u3066\u3001null\u304c\u8fd4\u3063\u3066\u304d\u3066\u3044\u305f\u3002 \u81ea\u5206\u304c\u30e2\u30c3\u30af\u5316\u3057\u305f\u306e\u306f\u3001\u4e0b\u8a18\u306e\u30b3\u30fc\u30c9 MockedStatic<LocalDate> mock = Mockito.mockStatic(LocalDate.class); mock.when(LocalDate::now).thenReturn(t\u2026","published":"2023-03-12 02:34:23","version":"1.0","url":"https://suzaku-tec.hatenadiary.jp/entry/2023/03/12/023423","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsuzaku-tec.hatenadiary.jp%2Fentry%2F2023%2F03%2F12%2F023423\" title=\"mockito\u3067static\u30e1\u30bd\u30c3\u30c9\u3092\u30e2\u30c3\u30af\u5316\u3057\u305f\u3089\u3001\u4ed6\u306estatic\u30e1\u30bd\u30c3\u30c9\u304cnull\u8fd4\u3057\u3066\u304f\u308b - \u30a8\u30f3\u30bf\u30fc\u30c6\u30a4\u30e1\u30f3\u30c8\uff01\uff01\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog","image_url":null,"provider_url":"https://hatena.blog","blog_url":"https://suzaku-tec.hatenadiary.jp/","width":"100%","title":"mockito\u3067static\u30e1\u30bd\u30c3\u30c9\u3092\u30e2\u30c3\u30af\u5316\u3057\u305f\u3089\u3001\u4ed6\u306estatic\u30e1\u30bd\u30c3\u30c9\u304cnull\u8fd4\u3057\u3066\u304f\u308b","type":"rich","author_name":"suzaku0914","author_url":"https://blog.hatena.ne.jp/suzaku0914/","categories":["Java","\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0","\u30e9\u30a4\u30d6\u30e9\u30ea","\u6065\u6652\u3057","\u65e5\u8a18"],"blog_title":"\u30a8\u30f3\u30bf\u30fc\u30c6\u30a4\u30e1\u30f3\u30c8\uff01\uff01","height":"190"}