public function test_error_message_when_matching_non_array_value() { $this->assertFalse($this->matcher->match(new \DateTime(), "@array@")); $this->assertEquals($this->matcher->getError(), "object \"\\DateTime\" is not a valid array."); }