public static function shouldReceive(...$params)
    {
        $name = static::getFacadeAccessor();
        if (static::isMock()) {
            $mock = self::$resolvedInstance[$name];
        } else {
            $mock = static::createFreshMockInstance();
        }

        return $mock->shouldReceive(...$params);
    }
public static function shouldReceive(...$params)
    {
        $name = static::getFacadeAccessor();
        if (static::isMock()) {
            $mock = self::$resolvedInstance[$name];
        } else {
            $mock = static::createFreshMockInstance();
        }

        return $mock->shouldReceive(...$params);
    }
public static function shouldReceive ( ... $ params ) { $ name = static :: getFacadeAccessor ( ) ; if ( static :: isMock ( ) ) { $ mock = self :: $ resolvedInstance [ $ name ] ; } else { $ mock = static :: createFreshMockInstance ( ) ; } return $ mock -> shouldReceive ( ... $ params ) ; }
Initiate a mock expectation on the facade.

@param mixed ...$params

@return \Mockery\Expectation
Initiate a mock expectation on the facade .