Path: redb-route/redb.Route/Components/MockAssertionException.cs
Snapshot: redb-route, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages.
License: Apache-2.0. Repository: https://github.com/redbase-app/redb-route
Page: https://redbase.app/src/dev-2026-12-06/redb-route/redb.Route/Components/MockAssertionException.cs
----
namespace redb.Route.Components;
///
/// Thrown by /
/// when the mock's expectations do not hold. Independent of any test framework so the test kit
/// works with xUnit, NUnit and MSTest alike; the message lists every failed expectation followed
/// by the bodies actually received, one per line.
///
public sealed class MockAssertionException : Exception
{
/// Creates the exception with a fully formatted message.
public MockAssertionException(string message) : base(message) { }
}