FBMock_Utils::getDoubleImplementation PHP Method

getDoubleImplementation() public static method

public static getDoubleImplementation ( $double )
    public static function getDoubleImplementation($double)
    {
        return $double->__implementation;
    }

Usage Example

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;
 }
All Usage Examples Of FBMock_Utils::getDoubleImplementation