{"title":"hamcrest \u306e CoreMatchers \u8a73\u7d30","categories":["Java","JUnit"],"version":"1.0","provider_name":"Hatena Blog","description":"blog1.mammb.com\u306e\u3064\u3044\u3067\u306b hamcrest \u306e CoreMatchers \u306b\u3064\u3044\u3066\u307e\u3068\u3081\u307e\u3059\u3002 Matchers \u306b\u3064\u3044\u3066\u306f blog1.mammb.com \u307e\u305a\u306f\u57fa\u672c\u306e is \u3068 not \u5168\u4f53\u7684\u306b\u306f\u3053\u3093\u306a\u611f\u3058\u3002 import static org.hamcrest.CoreMatchers.is; import static org.junit.Assert.assertThat; import org.junit.Test; public class FooTest { @Test public void testFoo() { String actual = \"foo\";\u2026","provider_url":"https://hatena.blog","blog_url":"https://blog1.mammb.com/","image_url":null,"author_name":"Naotsugu","height":"190","blog_title":"A Memorandum","type":"rich","url":"https://blog1.mammb.com/entry/20101018/1287407710","author_url":"https://blog.hatena.ne.jp/Naotsugu/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog1.mammb.com%2Fentry%2F20101018%2F1287407710\" title=\"hamcrest \u306e CoreMatchers \u8a73\u7d30 - A Memorandum\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2010-10-18 22:15:10","width":"100%"}