public function testApiConstructor_CreatesInstance()
{
$listener = $this->createListener();
$component = $this->createComponent();
$server = $this->createSocketServer($listener, $component);
$this->assertInstanceOf(SocketServer::class, $server);
$this->assertInstanceOf(SocketServerInterface::class, $server);
$this->assertInstanceOf(NetworkComponentAwareInterface::class, $server);
}