apply

abstract fun apply(context: TestGenerationContext): Sequence<TestCase>

Applies the rule to the given context with a valid case producing one or more derived negative test cases.

Behavior must not mutate context.

Return

a sequence of generated test cases; may be empty if not applicable

Parameters

context

with a valid test case, operation specification and OpenAPI document