Package org.citrusframework.ws.actions
Class AssertSoapFault
java.lang.Object
org.citrusframework.actions.AbstractTestAction
org.citrusframework.container.AbstractActionContainer
org.citrusframework.ws.actions.AssertSoapFault
- All Implemented Interfaces:
Described,Named,Completable,TestActionContainer,TestAction,TestActorAware
Asserting SOAP fault exception in embedded test action.
Class constructs a control soap fault detail with given expected information (faultCode, faultString and faultDetail)
and delegates validation to
SoapFaultValidator instance.- Since:
- 2009
- Author:
- Christoph Deppisch
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class org.citrusframework.container.AbstractActionContainer
actionsFields inherited from class org.citrusframework.actions.AbstractTestAction
description -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddoExecute(TestContext context) Gets the action.Gets the faultActor.Gets the faultCode.Gets the fault detail resource paths.Gets the list of fault details.Gets the faultString.getTestAction(int index) Gets the validationContext.Gets the validator.Methods inherited from class org.citrusframework.container.AbstractActionContainer
addTestAction, addTestAction, addTestActions, addTestActions, executeAction, getActionCount, getActionIndex, getActiveAction, getExecutedActions, isDone, setActions, setActiveAction, setExecutedActionMethods inherited from class org.citrusframework.actions.AbstractTestAction
execute, getActor, getDescription, getName, isDisabled, setActor, setDescription, setNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.citrusframework.TestAction
execute, getActor, getName, isDisabled
-
Constructor Details
-
AssertSoapFault
Default constructor.
-
-
Method Details
-
doExecute
- Specified by:
doExecutein classAbstractTestAction
-
getAction
Gets the action.- Returns:
- the action
-
getTestAction
- Specified by:
getTestActionin interfaceTestActionContainer- Overrides:
getTestActionin classAbstractActionContainer
-
getActions
- Specified by:
getActionsin interfaceTestActionContainer- Overrides:
getActionsin classAbstractActionContainer
-
getFaultString
Gets the faultString.- Returns:
- the faultString
-
getFaultCode
Gets the faultCode.- Returns:
- the faultCode
-
getFaultDetails
Gets the list of fault details.- Returns:
- the faultDetails
-
getFaultDetailResourcePaths
Gets the fault detail resource paths.- Returns:
-
getValidator
Gets the validator.- Returns:
- the validator
-
getFaultActor
Gets the faultActor.- Returns:
- the faultActor.
-
getValidationContext
Gets the validationContext.- Returns:
- the validationContext.
-