public function test_error_when_matching_fail() { $this->assertFalse($this->matcher->match(array('foo' => 'foo value'), array('foo' => 'bar value'))); $this->assertEquals($this->matcher->getError(), '"foo value" does not match "bar value".'); }