Class WillReceiveFunctionCall

  • 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 WillReceiveFunctionCall
    extends AnyInteractionDescriptor
    Defines an example that expects a function to be called with specific arguments.
    • Constructor Detail

      • WillReceiveFunctionCall

        protected WillReceiveFunctionCall​(software.amazon.jsii.JsiiObjectRef objRef)
      • WillReceiveFunctionCall

        protected WillReceiveFunctionCall​(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
      • WillReceiveFunctionCall

        @Stability(Stable)
        public WillReceiveFunctionCall​(@NotNull
                                       FunctionExecutionExample 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()