public function testMetricTags()
 {
     $metric = new Metric('test.metric.name', array(20));
     $this->assertEmpty($metric->getTags());
     $this->assertEquals(array(), $metric->getTags());
     $metric->addTag('foo', 'bar');
     $this->assertCount(1, $metric->getTags());
     $metric->removeTag('foo');
     $this->assertCount(0, $metric->getTags());
     $metric2 = new Metric('test.metric.name', array(20));
     $this->assertCount(0, $metric2->getTags());
     $metric2->setTags(array(array('foo', 'bar'), array('bar', 'baz')));
     $this->assertCount(2, $metric2->getTags());
     $metric2->removeTags();
 }