harbor run -t openthoughts/tasktrove-exp-rpt-stack-php-v2-v6-stack-php-0036harbor download openthoughts/tasktrove-exp-rpt-stack-php-v2-v6-stack-php-0036Task: Implement Magento\CatalogInventory\Model\ResourceModel\Stock with full functionality exercised by the provided tests, placed in /app/
What to build Create the class Magento\CatalogInventory\Model\ResourceModel\Stock in app/ that implements the following public methods and their required behavior, using the dependencies injected via the constructor:
Dependencies and wiring
Location
What success looks like
Note: The implementation must mirror the test’s expectations for method call order, SQL fragments, and interactions with mocks to ensure tests pass deterministically.