src/ShortifyPunit.php
public static function mock($mockedClass)
    {
        $reflection = self::getMockReflection($mockedClass);

        return static::mockClass(
            $reflection,
            self::$namespace,
            self::$classBasePrefix
        );
    }
public static function mock($mockedClass)
    {
        $reflection = self::getMockReflection($mockedClass);

        return static::mockClass(
            $reflection,
            self::$namespace,
            self::$classBasePrefix
        );
    }
public static function mock ( $ mockedClass ) { $ reflection = self :: getMockReflection ( $ mockedClass ) ; return static :: mockClass ( $ reflection , self :: $ namespace , self :: $ classBasePrefix ) ; }
Mocking interfaces & classes

@desc Ignoring final and private methods

Examples:
// Creating a new mock for SimpleClassForMocking
$mock = ShortifyPunit::mock('SimpleClassForMocking');

// Returns NULL, was not stubbed yet
$mock->first_method();

@param $mockedClass
@return mixed
Mocking interfaces & classes