{"image_url":null,"provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fk-sasaki.net%2Fentry%2F2019%2F10%2F14%2F221027\" title=\"Mockito\u3067private\u30e1\u30bd\u30c3\u30c9\u306e\u30c6\u30b9\u30c8\u3063\u307d\u3044\u3053\u3068 - \u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u96d1\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2019-10-14 22:10:27","blog_url":"https://k-sasaki.net/","author_name":"earu","type":"rich","author_url":"https://blog.hatena.ne.jp/earu/","title":"Mockito\u3067private\u30e1\u30bd\u30c3\u30c9\u306e\u30c6\u30b9\u30c8\u3063\u307d\u3044\u3053\u3068","version":"1.0","height":"190","provider_name":"Hatena Blog","url":"https://k-sasaki.net/entry/2019/10/14/221027","description":"\u672c\u5bb6\u306f\u3053\u3061\u3089ReflectionTestUtils\u3092\u4f7f\u7528\u3059\u308b field\u306e\u5834\u5408 ReflectionTestUtils.setField \u3092\u4f7f\u3046 public Sample SampleRepositoryImpl{ private String parameter; } @Runwith(SpringRunner.class) class SampleRepositoryImplTest(){ @InjectMocks private SampleRepositoryImpl sampleRepository @Before public void setUp(){ ReflectionTe\u2026","width":"100%","categories":[],"blog_title":"\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u96d1\u8a18"}