{"height":"190","author_name":"shimooka","title":"assertEquals\u3058\u3083\u306a\u304f\u3066assertSame\u3092\u4f7f\u3046","version":"1.0","width":"100%","description":"\u6700\u8fd1\u586b\u3063\u305f\u306e\u304c\u6b21\u306e\u3088\u3046\u306a\u30c6\u30b9\u30c8\u3002 <?php require_once 'PHPUnit/Framework.php'; class ATest extends PHPUnit_Framework_TestCase { public function testExecute() { $obj = $this->getMock('AnObject', array('execute')); $obj->expects($this->any()) ->method('execute') ->will($this->returnValue('1')); $this->assertEquals('000\u2026","provider_name":"Hatena Blog","blog_title":"Do You PHP \u306f\u3066\u30d6\u30ed","url":"https://shimooka.hateblo.jp/entry/20090703/1246605320","type":"rich","published":"2009-07-03 16:15:20","image_url":null,"author_url":"https://blog.hatena.ne.jp/shimooka/","categories":["PHP","PHPUnit"],"provider_url":"https://hatena.blog","blog_url":"https://shimooka.hateblo.jp/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshimooka.hateblo.jp%2Fentry%2F20090703%2F1246605320\" title=\"assertEquals\u3058\u3083\u306a\u304f\u3066assertSame\u3092\u4f7f\u3046 - Do You PHP \u306f\u3066\u30d6\u30ed\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}