Class WillCallFunction
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- io.contract_testing.contractcase.definitions.interactions.base.AnyInteractionDescriptor
-
- io.contract_testing.contractcase.definitions.interactions.functions.WillCallFunction
-
- 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 WillCallFunction extends AnyInteractionDescriptor
Defines an example that executes a registered function with specific arguments.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWillCallFunction.BuilderA fluent builder forWillCallFunction.
-
Constructor Summary
Constructors Modifier Constructor Description WillCallFunction(FunctionExecutionExample example)Defines an interaction that executes a registered function with specific arguments, expecting that interaction to return successfully.protectedWillCallFunction(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)protectedWillCallFunction(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
-
WillCallFunction
protected WillCallFunction(software.amazon.jsii.JsiiObjectRef objRef)
-
WillCallFunction
protected WillCallFunction(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
WillCallFunction
@Stability(Stable) public WillCallFunction(@NotNull FunctionExecutionExample example)Defines an interaction that executes a registered function with specific arguments, expecting that interaction to return successfully.- Parameters:
example- - amocks.functions.FunctionExecutionExample. This parameter is required.
-
-