<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tanakakns</author_name>
  <author_url>https://blog.hatena.ne.jp/tanakakns/</author_url>
  <blog_title>ぺーぺーSEのブログ</blog_title>
  <blog_url>https://tanakakns.hatenablog.com/</blog_url>
  <categories>
    <anon>Java</anon>
    <anon>JUnit</anon>
    <anon>EasyMock</anon>
    <anon>PowerMock</anon>
    <anon>Mockito</anon>
  </categories>
  <description>JUnitを使用した単体試験のときに使えるMockについて。（なんか疲れたからまとめっぷりは中途） 以下みたいなのがある。 EasyMock インスタンスのMockがほしいときに使うとよい ネストしたクラスをMock化したいときはセッターとかDIとか使う Mockito EasyMockより便利？ EasyMockのように記録モード、再生モードの切り替えが不要 ネストしたインスタンスまでMock化できる 「@Mock」等のアノテーションサポート PowerMock EasyMock、Mockitoにできないことをできるように拡張する staticメソッド、finalなクラス・メソッド、priv…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftanakakns.hatenablog.com%2Fentry%2F20131220%2F1387535775&quot; title=&quot;JUnitで試験するときに使うMockライブラリ - ぺーぺーSEのブログ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2013-12-20 19:36:15</published>
  <title>JUnitで試験するときに使うMockライブラリ</title>
  <type>rich</type>
  <url>https://tanakakns.hatenablog.com/entry/20131220/1387535775</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
