public function testResult()
 {
     $factory = new ClientAdapterFactory();
     $this->assertInstanceOf('Team3\\PayU\\Communication\\ClientAdapter', $factory->build($this->getSerializer(), $this->getLogger()));
 }
 /**
  * @param LoggerInterface $logger
  *
  * @return ClientInterface
  */
 private function getClient(LoggerInterface $logger)
 {
     $clientAdapterFactory = new ClientAdapterFactory();
     return $clientAdapterFactory->build($this->getSerializer($logger), $logger);
 }