{"image_url":null,"width":"100%","blog_url":"https://netpenguin.hatenadiary.org/","blog_title":"NetPenguin\u306e\u65e5\u8a18","description":"\u3061\u3087\u3063\u3068\u306f\u307e\u3063\u305f\u306e\u3067\u30e1\u30e2\u3002 EasyMock2 \u3067\u306f\u3001\u30e2\u30c3\u30af\u30e1\u30bd\u30c3\u30c9\u306e\u547c\u3073\u51fa\u3057\u6642\u306b\u671f\u5f85\u3057\u3066\u3044\u308b\u5f15\u6570\u304c\u6e21\u3055\u308c\u3066\u3044\u308b\u304b\u3069\u3046\u304b\u3092\u30c1\u30a7\u30c3\u30af\u3067\u304d\u307e\u3059\u3002 \u3053\u306e\u3068\u304d\u3001\u5f15\u6570\u3068\u3057\u3066\u3068\u308a\u3046\u308b\u5024\u3092\u3001'EasyMock.and()' \u3084 'EasyMock.or()' \u7b49\u7b49\u3092\u4f7f\u7528\u3057\u3066\u7d30\u304b\u304f\u6307\u5b9a\u3059\u308b\u3053\u3068\u304c\u51fa\u6765\u307e\u3059\u3002 \u3053\u308c\u3089\u306e and \u3084 or \u3068\u3068\u3082\u306b\u4f7f\u3046\u3082\u306e\u306b eq (\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092 equals \u3067\u6bd4\u8f03\u3059\u308b) \u304c\u3042\u308b\u306e\u3067\u3059\u304c\u3001\u5f15\u6570\u304c\u4e8c\u3064\u4ee5\u4e0a\u306e\u30e1\u30bd\u30c3\u30c9\u306b\u5bfe\u3057\u3066\u3001\u5358\u7d14\u306b eq \u3092\u4f7f\u7528\u3059\u308b\u3068 NullPointerException \u304c\u767a\u751f\u3057\u307e\u3059\u3002 import static org.easymock.EasyMock.\u2026","type":"rich","version":"1.0","author_url":"https://blog.hatena.ne.jp/NetPenguin/","provider_url":"https://hatena.blog","published":"2007-01-15 03:24:59","url":"https://netpenguin.hatenadiary.org/entry/20070115/1168885499","height":"190","author_name":"NetPenguin","categories":["JAVA"],"title":"EasyMock2 \u306e eq \u306b\u3064\u3044\u3066","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnetpenguin.hatenadiary.org%2Fentry%2F20070115%2F1168885499\" title=\"EasyMock2 \u306e eq \u306b\u3064\u3044\u3066 - NetPenguin\u306e\u65e5\u8a18\" 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"}