public function testClose()
 {
     $mock = $this->getMock('\\Ratchet\\ConnectionInterface');
     $conn = new WampConnection($mock);
     $mock->expects($this->once())->method('close');
     $conn->close();
 }