Uploaded From CV. Swandhana Server

This commit is contained in:
Duidev Software House
2025-01-27 08:16:55 +07:00
commit 6b3be42361
15186 changed files with 2328862 additions and 0 deletions

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
<?php
declare(strict_types=1);
namespace Aranyasen\HL7\Tests\Segments;
use Aranyasen\HL7\Segments\OBX;
use Aranyasen\HL7\Tests\TestCase;
class OBXTest extends TestCase
{
/** @test */
public function segment_id_automatically_increments_when_a_new_instance_is_created(): void
{
OBX::resetIndex(); // Previous tests would have incremented the static $index variable
$obx = new OBX();
$this->assertSame(1, $obx->getID());
$obx = new OBX();
$this->assertSame(2, $obx->getID());
}
}