public function testGetsComment() { $url = $this->getUrlMock(); $comment = $this->getBookmarkCommentMock(); $date = new DateTimeImmutable(); $bookmark = new Bookmark($url, $comment, $date); $this->assertEquals($comment, $bookmark->getComment()); }