Class FunctionArguments

  • All Implemented Interfaces:
    software.amazon.jsii.JsiiSerializable

    @Generated(value="jsii-pacmak/1.112.0 (build de1bc80)",
               date="2025-08-20T01:46:20.843Z")
    @Stability(Stable)
    public class FunctionArguments
    extends AnyMatcher
    Matches function arguments, for use with a MockFunctionCall / MockFunctionExecution.

    Usually you don't need to use this matcher directly, the mock creates it for you.

    • Nested Class Summary

      • Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

        software.amazon.jsii.JsiiObject.InitializationMode
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
        FunctionArguments​(List<Object> expectedArguments)
      Matches function arguments, for use with a FunctionExecutionMock.
      protected FunctionArguments​(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)  
      protected FunctionArguments​(software.amazon.jsii.JsiiObjectRef objRef)  
    • Constructor Detail

      • FunctionArguments

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

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

        @Stability(Stable)
        public FunctionArguments​(@NotNull
                                 List<Object> expectedArguments)
        Matches function arguments, for use with a FunctionExecutionMock.

        Parameters:
        expectedArguments -
        • an array where each entry will be matched against the arguments.
        This parameter is required.
    • Method Detail

      • toJSON

        @Stability(Stable)
        @NotNull
        public Object toJSON()
        For non-TypeScript implementations (see AnyMatcher.toJSON).
        Overrides:
        toJSON in class AnyMatcher
        Returns:
        An object in the matcher format described {@link https://case.contract-testing.io/docs/reference/plugin-framework in the Extending ContractCase documentation}
      • getArguments

        @Stability(Stable)
        @NotNull
        public List<Object> getArguments()
      • setArguments

        @Stability(Stable)
        public void setArguments​(@NotNull
                                 List<Object> value)