public function testApiConstructor_CreatesInstance()
{
$server = $this->createServer();
$component = $this->createComponent();
$handler = $this->createSessionHandler();
$session = $this->createSession($server, $component, $handler);
$this->assertInstanceOf(HttpSession::class, $session);
$this->assertInstanceOf(HttpSessionInterface::class, $session);
$this->assertInstanceOf(NetworkComponentAwareInterface::class, $session);
$this->assertInstanceOf(NetworkComponentInterface::class, $session);
}