Inheritance: extends Payum\Core\GatewayFactory
 /**
  * @test
  *
  * @expectedException \Payum\Core\Exception\InvalidArgumentException
  * @expectedExceptionMessageRegExp /Given \"config_path\" is invalid. \w+/
  */
 public function shouldThrowIfConfigPathOptionsNotEqualPaypalPath()
 {
     $factory = new PaypalRestGatewayFactory();
     $factory->create(array('client_id' => 'cId', 'client_secret' => 'cSecret', 'config_path' => dirname(__DIR__)));
 }