* [misc] Enhance unit tests for instanceModel::updateMemorySize() method

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
liugang
2025-09-25 09:16:16 +08:00
co-authored by Claude
parent 9701570d31
commit 65e52f8126
3 changed files with 88 additions and 15 deletions
@@ -792,4 +792,18 @@ class instanceTest
return $result;
}
/**
* Test updateMemorySize method.
*
* @param object $instance
* @param int $size
* @access public
* @return mixed
*/
public function updateMemorySizeTest(object $instance, int $size = 0)
{
$result = $this->objectModel->updateMemorySize($instance, $size);
return $result;
}
}