+ [misc] Add checkCanSubdivideTest method to story unit test class

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

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
liugang
2025-09-15 15:09:45 +08:00
co-authored by Claude
parent a6b540aa49
commit fc363531e0
@@ -1681,4 +1681,21 @@ class storyTest
return 0;
}
}
/**
* Test checkCanSubdivide method.
*
* @param object $story
* @param bool $isShadowProduct
* @access public
* @return bool
*/
public function checkCanSubdivideTest(object $story, bool $isShadowProduct): bool
{
$reflection = new ReflectionClass($this->objectTao);
$method = $reflection->getMethod('checkCanSubdivide');
$method->setAccessible(true);
return $method->invoke($this->objectTao, $story, $isShadowProduct);
}
}