public function shouldSubClassGatewayFactory() { $rc = new \ReflectionClass(PaypalMasspayGatewayFactory::class); $this->assertTrue($rc->isSubclassOf(GatewayFactory::class)); }