+ [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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user