Package org.citrusframework.container
Class Assert.Builder
java.lang.Object
org.citrusframework.AbstractTestActionBuilder<T,S>
org.citrusframework.AbstractTestContainerBuilder<T,S>
org.citrusframework.AbstractExceptionContainerBuilder<Assert,Assert.Builder>
org.citrusframework.container.Assert.Builder
- All Implemented Interfaces:
ReferenceResolverAware,TestActionBuilder<Assert>,TestActionContainerBuilder<Assert,Assert.Builder>
- Enclosing class:
- Assert
Action builder.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.citrusframework.TestActionBuilder
TestActionBuilder.DelegatingTestActionBuilder<T extends TestAction> -
Field Summary
Fields inherited from class org.citrusframework.AbstractTestContainerBuilder
actions, referenceResolverFields inherited from class org.citrusframework.AbstractTestActionBuilder
selfFields inherited from interface org.citrusframework.TestActionBuilder
logger, RESOURCE_PATH, TYPE_RESOLVER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaction(TestAction action) Sets the test action to execute during assert.action(TestActionBuilder<?> builder) Sets the test action to execute during assert.actions(TestActionBuilder<?>... actions) static Assert.BuilderFluent API action building entry method used in Java DSL.doBuild()Builds the container.Catch exception type during execution.Catch exception type during execution.Expect error message in exception.Methods inherited from class org.citrusframework.AbstractExceptionContainerBuilder
when, whenMethods inherited from class org.citrusframework.AbstractTestContainerBuilder
actions, build, container, getActions, setReferenceResolverMethods inherited from class org.citrusframework.AbstractTestActionBuilder
actor, description, getActor, getDescription, getName, name
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
assertException
Fluent API action building entry method used in Java DSL.- Returns:
-
actions
- Specified by:
actionsin interfaceTestActionContainerBuilder<Assert,Assert.Builder> - Overrides:
actionsin classAbstractTestContainerBuilder<Assert,Assert.Builder>
-
exception
Catch exception type during execution.- Parameters:
exception-- Returns:
-
exception
Catch exception type during execution.- Parameters:
type-- Returns:
-
message
Expect error message in exception.- Parameters:
message-
-
action
Sets the test action to execute during assert.- Parameters:
action-
-
action
Sets the test action to execute during assert. -
doBuild
Description copied from class:AbstractTestContainerBuilderBuilds the container.- Specified by:
doBuildin classAbstractTestContainerBuilder<Assert,Assert.Builder> - Returns:
-