Class 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.
    • 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 - - a mocks.functions.FunctionExecutionExample. This parameter is required.
    • Method Detail

      • getFunctionName

        @Stability(Stable)
        @NotNull
        public String getFunctionName()
      • getRequest

        @Stability(Stable)
        @NotNull
        public Object getRequest()
      • getResponse

        @Stability(Stable)
        @NotNull
        public Object getResponse()