testing library

Classes

MockDatabaseSpy
A test double for DatabaseAdapter that records query history and allows configuring responses based on SQL substrings.
MockTransactionContext
A pass-through wrapper ensuring that operations inside a transaction block are routed back to the main MockDatabaseSpy instance.