Contains a set of helpful tools for testing:
MatsTestBrokerInterfaceto get DLQ'ed messages,
MatsTestHelpfor creation of relevant ids,
MatsTestLatchfor a simple tool to synchronize between the test method and the async Mats endpoints, and
TestH2DataSourcewhich is a small wrapper around H2 to create a database with a test table - mainly used by the API Tests to verify SQL transactions.
ClassDescriptionTool that makes it possible to query the underlying broker of a test MatsFactory for messages, in particular "residual" messages and DLQs.Representation of the Mats message that sat on the DLQ.Microscopic helper methods to create Loggers and Ids typically needed when making Mats tests.Test-utility: Gives a latch-functionality facilitating communication back from typically a Mats Terminator to the main-thread that sent a message to some processor, and is now waiting for the Terminator to get the result.MatsTestLatch.Result<S,
RuntimeExceptionfor use in database access methods and tests.