Method Mock(IRouteContext, string)

Assembly: redb.Route.TestKit.dll

The standing in for uri: either a mock://name
URI or the original endpoint URI that replaced
(kafka://orders-vip resolves to mock://kafka:orders-vip, see ).
The endpoint is created on first access, so expectations can be set before any message arrives.

public static MockEndpoint Mock(this IRouteContext context, string uri)