StateVariable
Matches the content of a variable that comes from a state.
See state definitions and state handlers for more details.
- Typescript
- Java
import { matchers } from '@contract-case/case-definition-dsl'
new matchers.convenience.StateVariable(name: string)
Parameters
Name | Type | Description |
---|---|---|
name | string | The name of the variable. |
import io.contract_testing.contractcase.definitions.matchers.convenience.StateVariable;
new StateVariable(java.lang.String name);
Parameters
Name | Type | Description |
---|---|---|
name | java.lang.String | The name of the variable. |