Exemplo n.º 1
0
 public function testGetIdentifierReturnsExpectedString()
 {
     $method = new MockedMethod('foo', new ArgumentCollection(array('foo')), new Any());
     $expectedIdentifier = '691e456906864441ca48f76144b59794';
     $this->assertSame($expectedIdentifier, $method->getIdentifier());
     $method->verify();
 }
Exemplo n.º 2
0
 /**
  * @param ArgumentCollection $actualArgs
  * @throws \Mokka\VerificationException
  * @return null
  */
 public function call(ArgumentCollection $actualArgs)
 {
     parent::call($actualArgs);
     return $this->_returnValue;
 }