/**
  * 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 = array('foo');
     $this->assertNull($this->adapter->doArgumentsMatch($value));
 }
Пример #2
0
 public function __toString()
 {
     return $this->matcher->__toString();
 }