Class WorkResponseMatchExtensions
Adds a collection of additional NRule DSL methods specific to matching JobWorkResponses.
public static class WorkResponseMatchExtensions
- Inheritance
-
WorkResponseMatchExtensions
Methods
WithStatus(Matcher<WorkResponse>, WorkResponseStatus)
Match against a particular WorkResponseStatus.
public static Matcher<WorkResponse> WithStatus(this Matcher<WorkResponse> matcher, WorkResponseStatus jobResultStatus)
Parameters
matcher
Matcher<WorkResponse>jobResultStatus
WorkResponseStatusWorkResponseStatus to match against.