public class OptionalTestInput extends Object
Constructor and Description |
---|
OptionalTestInput() |
Modifier and Type | Method and Description |
---|---|
OperationStatus |
getOperationStatus()
Getter method
|
boolean |
isEmptyPayloadsExpected()
Getter method
|
OptionalTestInput |
withEmptyPayloadsExpected(boolean emptyPayloadsExpected)
Builder method to the empty payloads expected flag for the test
|
OptionalTestInput |
withOperationStatus(OperationStatus operationStatus)
Builder method to set the expected operation status for the test
|
public OptionalTestInput withOperationStatus(OperationStatus operationStatus)
operationStatus
- the operation status expected for the current test_operationStatus
set to the new value.public OptionalTestInput withEmptyPayloadsExpected(boolean emptyPayloadsExpected)
emptyPayloadsExpected
- boolean indicating if empty payloads are expected for the current test_emptyPayloadsExpected
set to the new valuepublic OperationStatus getOperationStatus()
public boolean isEmptyPayloadsExpected()