src/Proxy.php
public static function shouldReceive()
    {
        $name = static::getConcreteBinding();

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

        return call_user_func_array([$mock, 'shouldReceive'], func_get_args());
    }
public static function shouldReceive()
    {
        $name = static::getConcreteBinding();

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

        return call_user_func_array([$mock, 'shouldReceive'], func_get_args());
    }
public static function shouldReceive ( ) { $ name = static :: getConcreteBinding ( ) ; if ( static :: isMock ( ) ) { $ mock = static :: $ instance [ $ name ] ; } else { $ mock = static :: createFreshMockInstance ( $ name ) ; } return call_user_func_array ( [ $ mock , 'shouldReceive' ] , func_get_args ( ) ) ; }
Initiate a mock expectation on the proxy.

@param  dynamic
@return \Mockery\Expectation
Initiate a mock expectation on the proxy .