public function testFavoritedCount() { $person = new Person(); $favoritedCount = 30234; $person->setFavoritedCount($favoritedCount); $this->assertEquals($favoritedCount, $person->getFavoritedCount()); // Test bad data $favoritedCount = 'Fake'; $person->setFavoritedCount($favoritedCount); $this->assertEquals($favoritedCount, $person->getFavoritedCount()); }