/** * @test */ function it_returns_the_title() { $author = new \PlatziPHP\Author("*****@*****.**", '123456', 'AUTOR_DE_PLATZI'); $post = new \PlatziPHP\Post($author, 'My first Post', 'This is the content of my firstPost'); $this->assertEquals('My first Post', $post->getTitle()); }