Guarded fiscal-period state changes
Verification Boundary
The suite checks its declared service or persistence boundary against local PostgreSQL. Bindings identify the assertions it contributes to a capability case; they do not establish every assertion in a combined case.
What This Suite Proves
The writer suite exercises six valid period moves, attribution changes, reopen counting and refused invalid or stale expected states.
What It Does Not Prove
This register records assertion scope without claiming a passing run or complete coverage of every rule and scenario variant.
Real Dependencies and Test Doubles
Production persistence and mapping run with application-role transactions and workspace policies on PostgreSQL. Fixture records and fixed context values supply the inputs; the service and database enforcement under assertion remain real.
Must Not Be Doubled
Keep production queries, writes, mappings, application-role privileges and database constraints real wherever they are the subject of an assertion. Recording financial ports establish invocation behavior; actual recognition and reversal require the suite using the real posting service.