public function testGeneric()
 {
     $newRelic = new NewRelic('Ekino', 'XXX');
     $this->assertEquals('Ekino', $newRelic->getName());
     $this->assertEquals('XXX', $newRelic->getApiKey());
     $this->assertEmpty($newRelic->getCustomMetrics());
     $this->assertEmpty($newRelic->getCustomParameters());
     $newRelic->addCustomMetric('foo', 'bar');
     $newRelic->addCustomMetric('asd', 1);
     $expected = array('foo' => 0, 'asd' => 1);
     $this->assertEquals($expected, $newRelic->getCustomMetrics());
     $newRelic->addCustomParameter('param1', 1);
     $expected = array('param1' => '1');
     $this->assertEquals($expected, $newRelic->getCustomParameters());
 }