/**
  * Tests that calls to matches are forwarded to hamcrest's matcher method
  */
 public function testMatchesCallsForwarded()
 {
     $this->matcher->expects($this->once())->method('matches')->with($this->equalTo('foo'))->will($this->returnValue(true));
     $value = 'foo';
     $this->assertTrue($this->adapter->matches($value));
 }