Class WillReceiveFunctionCallAndThrow
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- io.contract_testing.contractcase.definitions.interactions.base.AnyInteractionDescriptor
-
- io.contract_testing.contractcase.definitions.interactions.functions.WillReceiveFunctionCallAndThrow
-
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.112.0 (build de1bc80)", date="2025-08-20T01:46:20.836Z") @Stability(Stable) public class WillReceiveFunctionCallAndThrow extends AnyInteractionDescriptor
Defines an example that expects a function to be called with specific arguments.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWillReceiveFunctionCallAndThrow.BuilderA fluent builder forWillReceiveFunctionCallAndThrow.
-
Constructor Summary
Constructors Modifier Constructor Description WillReceiveFunctionCallAndThrow(ThrowingFunctionExecutionExample example)Defines an example that expects a function to be called with specific arguments.protectedWillReceiveFunctionCallAndThrow(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)protectedWillReceiveFunctionCallAndThrow(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
-
WillReceiveFunctionCallAndThrow
protected WillReceiveFunctionCallAndThrow(software.amazon.jsii.JsiiObjectRef objRef)
-
WillReceiveFunctionCallAndThrow
protected WillReceiveFunctionCallAndThrow(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
WillReceiveFunctionCallAndThrow
@Stability(Stable) public WillReceiveFunctionCallAndThrow(@NotNull ThrowingFunctionExecutionExample example)Defines an example that expects a function to be called with specific arguments.- Parameters:
example- - amocks.functions.FunctionExecutionExample. This parameter is required.
-
-