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