public function testShouldSkipEmptyStringValue() { $factory = new ContainerAwareCoreGatewayFactory(); $factory->setContainer(new Container()); $factory->create(['foo' => '']); }
/** * @param array $defaultConfig * * @return GatewayFactoryInterface */ public function build(array $defaultConfig) { $coreGatewayFactory = new ContainerAwareCoreGatewayFactory($defaultConfig); $coreGatewayFactory->setContainer($this->container); return $coreGatewayFactory; }