public function testApiGetStreamType_ReturnsStreamType() { $socket = $this->createSocketListenerMock($this->tempSocketRemoteAddress()); $this->assertSame('tcp_socket/ssl', $socket->getStreamType()); }