public function shouldCreateCoreGatewayFactoryIfNotPassed() { $factory = new PaypalProHostedGatewayFactory(); $this->assertAttributeInstanceOf('Payum\\Core\\CoreGatewayFactory', 'coreGatewayFactory', $factory); }