public function testGetName() { $matcher = new HostTextMatcher(array('host' => 'foo'), array()); $this->assertSame('host:text', $matcher->getName()); }