Payum\Paypal\ProHosted\Nvp\Tests\PaypalProHostedGatewayFactoryTest::shouldUseCoreGatewayFactoryPassedAsSecondArgument PHP Метод

shouldUseCoreGatewayFactoryPassedAsSecondArgument() публичный Метод

    public function shouldUseCoreGatewayFactoryPassedAsSecondArgument()
    {
        $coreGatewayFactory = $this->getMock('Payum\\Core\\GatewayFactoryInterface');
        $factory = new PaypalProHostedGatewayFactory(array(), $coreGatewayFactory);
        $this->assertAttributeSame($coreGatewayFactory, 'coreGatewayFactory', $factory);
    }