Class CreateOperationTest

    • Constructor Detail

      • CreateOperationTest

        protected CreateOperationTest​(String objectTypeId,
                                      InputStream input)
        Creates an instance of an operation test.

        Intended to be used as part of a Parameterized test but can be run as a single test instance by invoking this constructor from the no argument constructor of the implementing class.

        Parameters:
        objectTypeId - object type id under test
        input - input for the operation
      • CreateOperationTest

        protected CreateOperationTest​(String objectTypeId,
                                      InputStream input,
                                      OptionalTestInput optionalTestInput)
        Creates an instance of an operation test.

        Intended to be used as part of a Parameterized test but can be run as a single test instance by invoking this constructor from the no argument constructor of the implementing class.

        Parameters:
        objectTypeId - object type id under test
        input - input for the operation
        optionalTestInput - optional input for the test (not the operation)
      • CreateOperationTest

        protected CreateOperationTest​(String objectTypeId,
                                      String input)
        Creates an instance of an operation test.

        Intended to be used as part of a Parameterized test but can be run as a single test instance by invoking this constructor from the no argument constructor of the implementing class.

        Parameters:
        objectTypeId - object type id under test
        input - input for the operation
    • Method Detail

      • addUserDefinedProperty

        protected final void addUserDefinedProperty​(String key,
                                                    String value)
        Helper method to add user defined properties to a test. Properties will be reset prior to each test.
        Parameters:
        key - the property key
        value - the property value
      • addDynamicProperty

        protected final void addDynamicProperty​(String key,
                                                String value)
        Helper method to add dynamic properties to a test. Properties will be reset prior to each test.
        Parameters:
        key - the property key
        value - the property value
      • addDynamicOperationProperty

        protected final void addDynamicOperationProperty​(String key,
                                                         Object value)
        Helper method to add dynamic operation properties to a test. Properties will be reset prior to each test.
        Parameters:
        key - the property key
        value - the property value