getDoubleImplementation() public static method

public static getDoubleImplementation ( $double )
Esempio n. 1
0
 public final function createStrictMock($class_name, $extra_interfaces = array())
 {
     FBMock_Utils::assertString($class_name);
     $mock = self::createMock($class_name, $extra_interfaces);
     FBMock_Utils::getDoubleImplementation($mock)->setStrictMock();
     return $mock;
 }
Esempio n. 2
0
 public function mockGetCalls($method_name)
 {
     FBMock_Utils::assertString($method_name);
     return FBMock_Utils::getDoubleImplementation($this)->getCalls($this, $method_name);
 }