/** * Tests getMask(). */ public function testGetMask() { $this->connection->setNickname('MyNick'); $this->connection->setUsername('MyIdent'); $this->connection->setServerHostname('server.int'); $this->assertSame('MyNick!MyIdent@server.int', $this->connection->getMask()); }