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