getDoubleImplementation() public static method

public static getDoubleImplementation ( $double )
Exemplo 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;
 }
Exemplo n.º 2
0
 public function mockGetCalls($method_name)
 {
     FBMock_Utils::assertString($method_name);
     return FBMock_Utils::getDoubleImplementation($this)->getCalls($this, $method_name);
 }