Class TestStepExpectation.Builder
- java.lang.Object
-
- de.bmiag.tapir.executiontest.expectation.plan.TestStepExpectation.Builder
-
- Enclosing class:
- TestStepExpectation
public static final class TestStepExpectation.Builder extends java.lang.Object
Builds instances of typeTestStepExpectation
.Builder
is not thread-safe and generally should not be stored in a field or collection, but instead used immediately to create instances.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setMethodName(java.lang.String methodName)
Initializes the value for themethodName
attribute.void
setParameters(java.lang.Iterable<TestParameterExpectation> elements)
Adds elements toparameters
.
-
-
-
Method Detail
-
setMethodName
public void setMethodName(java.lang.String methodName)
Initializes the value for themethodName
attribute.- Parameters:
methodName
- The value for methodName
-
setParameters
public void setParameters(java.lang.Iterable<TestParameterExpectation> elements)
Adds elements toparameters
.- Parameters:
elements
- An iterable of parameters elements
-
-