public function testForumPosts() { $posts = rand(); $profileDetails = new ProfileDetails(); $profileDetails->setForumPosts($posts); $this->assertEquals($posts, $profileDetails->getForumPosts()); }