public function testApiConstructor_CreatesInstance()
{
$server = stream_socket_server($this->tempSocketAddress());
$socket = $this->createSocketMock();
$this->assertInstanceOf(Socket::class, $socket);
$this->assertInstanceOf(SocketInterface::class, $socket);
}