public function testGetName() { $matcher = new HostMapMatcher(array('host' => 'foo'), array()); $this->assertSame('host:map', $matcher->getName()); $matcherHostElement = new HostElement(array(1)); $this->assertSame('host:element', $matcherHostElement->getName()); }