public function testNonStringThrowsException() { $this->setExpectedException('Exception'); $this->palindrome_tester->isPalindrome(array('crash' => 'bang')); $this->palindrome_tester->isPalindrome(new \DateTime()); $this->palindrome_tester->isPalindrome(135); }