<?php

declare(strict_types=1);

namespace Tests\Stub;

use PHPUnit\Framework\TestCase;

class SessionTestStub extends TestCase
{
    private const SESSION_ID = '42';

    protected function setUp(): void
    {
        session_id(self::SESSION_ID);
    }

    public function testOne(): void
    {
        $process = new StubbedParaunitProcess();

        $this->assertTrue($process->isTerminated());
    }

    public function testTwo(): void
    {
        $this->assertEquals(session_id(), self::SESSION_ID);
    }

    public function testThree(): void
    {
        $this->assertTrue(true);
    }
}

<?php

declare(strict_types=1);

namespace Tests\Stub;

use PHPUnit\Framework\TestCase;

class SessionTestStub extends TestCase
{
    private const SESSION_ID = '42';

    protected function setUp(): void
    {
        session_id(self::SESSION_ID);
    }

    public function testOne(): void
    {
        $process = new StubbedParaunitProcess();

        $this->assertTrue($process->isTerminated());
    }

    public function testTwo(): void
    {
        $this->assertEquals(self::SESSION_ID, session_id());
    }

    public function testThree(): void
    {
        $this->assertTrue(true);
    }
}

Fix arguments order in assertion
Fix arguments order in assertion
