diff --git a/tests/core/Model/MemoryTest.php b/tests/core/Model/MemoryTest.php index 888f528c3..97992f868 100644 --- a/tests/core/Model/MemoryTest.php +++ b/tests/core/Model/MemoryTest.php @@ -11,6 +11,7 @@ namespace WBW\Library\Core\Tests\Model; +use JsonSerializable; use WBW\Library\Core\Model\Memory; use WBW\Library\Core\Tests\AbstractTestCase; @@ -134,11 +135,13 @@ public function test__construct(): void { $obj = new Memory(); - $this->assertNull($obj->getAvailable()); - $this->assertNull($obj->getBuffCache()); - $this->assertNull($obj->getFree()); - $this->assertNull($obj->getShared()); + $this->assertInstanceOf(JsonSerializable::class, $obj); + $this->assertNull($obj->getTotal()); $this->assertNull($obj->getUsed()); + $this->assertNull($obj->getFree()); + $this->assertNull($obj->getShared()); + $this->assertNull($obj->getBuffCache()); + $this->assertNull($obj->getAvailable()); } }