getDoubleImplementation() public static method

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