public function testIsEqualDifferent() { $auth1 = new Author('issei'); $auth2 = new Author('murasaki'); $auth1->setAvatar('dsfdsdsf'); $auth2->setAvatar('dsfdsdsf'); $this->assertFalse($auth1->isEqual($auth2)); }
protected function createAuthor($name) { $author = new Author($name); $author->setAvatar('00.jpg'); return $author; }