public function testApiGetMetadata_ReturnsMetadata() { $socket = $this->createSocketListenerMock($this->tempSocketRemoteAddress()); $this->assertTrue(is_array($socket->getMetadata())); }