public function testGettersAndSetters() { $palindrome = new Palindrome(); $palindrome->setId(1); $palindrome->setString("test"); $palindrome->setIsPalindrome(false); $this->assertEquals($palindrome->getId(), 1); $this->assertEquals($palindrome->getString(), "test"); $this->assertEquals($palindrome->isPalindrome(), false); }