Class WillCallThrowingFunction
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- io.contract_testing.contractcase.definitions.interactions.base.AnyInteractionDescriptor
-
- io.contract_testing.contractcase.definitions.interactions.functions.WillCallThrowingFunction
-
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.112.0 (build de1bc80)", date="2025-08-20T01:46:20.835Z") @Stability(Stable) public class WillCallThrowingFunction extends AnyInteractionDescriptor
Defines an interaction that executes a registered function with specific arguments, expecting that function to throw an error.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWillCallThrowingFunction.BuilderA fluent builder forWillCallThrowingFunction.
-
Constructor Summary
Constructors Modifier Constructor Description WillCallThrowingFunction(ThrowingFunctionExecutionExample example)Defines an example that executes a registered function with specific arguments.protectedWillCallThrowingFunction(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)protectedWillCallThrowingFunction(software.amazon.jsii.JsiiObjectRef objRef)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetFunctionName()ObjectgetRequest()ObjectgetResponse()-
Methods inherited from class io.contract_testing.contractcase.definitions.interactions.base.AnyInteractionDescriptor
stringify, toJSON
-
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
-
-
-
Constructor Detail
-
WillCallThrowingFunction
protected WillCallThrowingFunction(software.amazon.jsii.JsiiObjectRef objRef)
-
WillCallThrowingFunction
protected WillCallThrowingFunction(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
WillCallThrowingFunction
@Stability(Stable) public WillCallThrowingFunction(@NotNull ThrowingFunctionExecutionExample example)Defines an example that executes a registered function with specific arguments.- Parameters:
example- - amocks.functions.FunctionExecutionExample. This parameter is required.
-
-