public static function shouldReceive()
    {
        $name = static::getInstanceIdentifier();

        if (static::isMock()) {
            $mock = static::$resolvedInstance[$name];
        } else {
            $mock = static::createFreshMockInstance($name);
        }

        return $mock->shouldReceive(...\func_get_args());
    }
public static function shouldReceive()
    {
        $name = static::getInstanceIdentifier();

        if (static::isMock()) {
            $mock = static::$resolvedInstance[$name];
        } else {
            $mock = static::createFreshMockInstance($name);
        }

        return $mock->shouldReceive(...\func_get_args());
    }
public static function shouldReceive ( ) { $ name = static :: getInstanceIdentifier ( ) ; if ( static :: isMock ( ) ) { $ mock = static :: $ resolvedInstance [ $ name ] ; } else { $ mock = static :: createFreshMockInstance ( $ name ) ; } return $ mock -> shouldReceive ( ... \ func_get_args ( ) ) ; }
Initiate a mock expectation on the static proxy.

@return \Mockery\ExpectationInterface|\Mockery\HigherOrderMessage
Initiate a mock expectation on the static proxy .