public function shouldConfigContainFactoryNameAndTitle()
{
$factory = new PaypalProHostedGatewayFactory();
$config = $factory->createConfig();
$this->assertInternalType('array', $config);
$this->assertArrayHasKey('payum.factory_name', $config);
$this->assertEquals('paypal_pro_hosted', $config['payum.factory_name']);
$this->assertArrayHasKey('payum.factory_title', $config);
$this->assertEquals('Paypal Pro Hosted', $config['payum.factory_title']);
}