public function testBlogPosts() { $posts = rand(); $profileDetails = new ProfileDetails(); $profileDetails->setBlogPosts($posts); $this->assertEquals($posts, $profileDetails->getBlogPosts()); }