Batch integration batch totals.queries
Verification Boundary
This suite exercises the imported batch services or storage against the prepared local database. It does not imply that a deployed workflow is contacted.
What This Suite Proves
Counts and monetary totals are compared with included and excluded source documents, including empty collections. The assertion anchors identify the supported portions of the bound scenarios.
What It Does Not Prove
Local assertions do not establish deployment configuration, remote delivery guarantees, or unasserted lifecycle and concurrency paths.
Real Dependencies and Test Doubles
PostgreSQL and the exercised persistence or accounting functions are real. Controlled clocks, imported test fixtures and any suite-specific doubles delimit the asserted behavior.
Must Not Be Doubled
The database constraints, transaction boundaries and exercised accounting functions must remain real when qualifying the asserted persistence or generation behavior.