public function shouldCreateCoreGatewayFactoryIfNotPassed() { $factory = new PaypalMasspayGatewayFactory(); $this->assertAttributeInstanceOf(CoreGatewayFactory::class, 'coreGatewayFactory', $factory); }