Class CodeGenerationConfigurationWebServicesTest

    • Constructor Detail

      • CodeGenerationConfigurationWebServicesTest

        public CodeGenerationConfigurationWebServicesTest()
    • Method Detail

      • setUp

        public void setUp()
                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testGetCodeGenerationConfigurationsWithoutAuthorization

        public void testGetCodeGenerationConfigurationsWithoutAuthorization()
                                                                     throws ImpExException
        Throws:
        ImpExException
      • testGetCodeGenerationConfigurationsUsingClientCredentials

        public void testGetCodeGenerationConfigurationsUsingClientCredentials()
                                                                       throws ImpExException
        Throws:
        ImpExException
      • testGetCodeGenerationConfigurationWithoutAuthorization

        public void testGetCodeGenerationConfigurationWithoutAuthorization()
                                                                    throws ImpExException
        Throws:
        ImpExException
      • testGetCodeGenerationConfigurationUsingClientCredentials

        public void testGetCodeGenerationConfigurationUsingClientCredentials()
                                                                      throws ImpExException
        Throws:
        ImpExException
      • testInvalidCodeGenerationConfigurationNameError

        public void testInvalidCodeGenerationConfigurationNameError()
                                                             throws ImpExException
        The test should detect the fail with 1 error:
        errors" : [ {
        "message" : "No Code Generation Configuration found for name [INVALID_CODE_GENERATION_CONFIGURATION]",
        "reason" : "invalid",
        "subject" : "codeGenerationConfiguration",
        "type" : "CodeGenerationConfigurationNotFoundError"
        } ]
        Throws:
        ImpExException
      • testGetCodeGenerationConfigurationUsingWrongMediaType

        public void testGetCodeGenerationConfigurationUsingWrongMediaType()
                                                                   throws ImpExException
        Throws:
        ImpExException
      • testGetCodeGenerationConfigurationsUsingWrongMediaType

        public void testGetCodeGenerationConfigurationsUsingWrongMediaType()
                                                                    throws ImpExException
        Throws:
        ImpExException
      • testGetCodeGenerationConfigurationsWhenNoConfigurationExists

        public void testGetCodeGenerationConfigurationsWhenNoConfigurationExists()
                                                                          throws ImpExException
        Throws:
        ImpExException