public function testClientConfig()
 {
     $aConfig = WirecardCEE_Stdlib_Module::getClientConfig();
     $this->assertInternalType('array', $aConfig);
     $this->assertArrayHasKey('MODULE_NAME', $aConfig);
     $this->assertEquals('WirecardCEE_Stdlib', $aConfig['MODULE_NAME']);
 }
 /**
  * Returns the user agent string
  *
  * @return string
  */
 public function getUserAgentString()
 {
     $oClientConfig = new WirecardCEE_Stdlib_Config(WirecardCEE_Stdlib_Module::getClientConfig());
     $sUserAgent = $this->_getUserAgent() . ";{$oClientConfig->MODULE_NAME};{$oClientConfig->MODULE_VERSION};";
     foreach ($oClientConfig->DEPENDENCIES as $sValue) {
         $sUserAgent .= is_string($sValue) ? $sValue . ";" : $sValue->CURRENT . ";";
     }
     return $sUserAgent;
 }
 public function setUp()
 {
     $this->object = new TestClient(WirecardCEE_Stdlib_Module::getClientConfig());
 }