@covers Symfony\Component\DependencyInjection\Definition::clearTags
public function testClearTags() {
$def = new Definition('stdClass');
$this
->assertSame($def, $def
->clearTags(), '->clearTags() implements a fluent interface');
$def
->addTag('foo', array(
'foo' => 'bar',
));
$def
->clearTags();
$this
->assertEquals(array(), $def
->getTags(), '->clearTags() removes all current tags');
}