Class ModelConstructionTest

  • All Implemented Interfaces:
    org.testng.IHookable, org.testng.ITestNGListener

    public class ModelConstructionTest
    extends org.jboss.arquillian.testng.Arquillian
    This test covers construction of the OpenAPI model. It verifies that the implementation can create instances of all of the Constructible interfaces and then invokes methods (including getters, setters and builders) on those instances to verify that they behave correctly.
    • Constructor Detail

      • ModelConstructionTest

        public ModelConstructionTest()
    • Method Detail

      • assertSame

        public static void assertSame​(Object actual,
                                      Object expected,
                                      String message)
        Asserts that two objects refer to the same object. If they do not, an AssertionError, with the given message, is thrown.
        Parameters:
        actual - the actual value
        expected - the expected value
        message - the assertion error message
      • assertNotSame

        public static void assertNotSame​(Object actual,
                                         Object expected,
                                         String message)
        Asserts that two objects do not refer to the same objects. If they do, an AssertionError, with the given message, is thrown.
        Parameters:
        actual - the actual value
        expected - the expected value
        message - the assertion error message
      • createDeployment

        @Deployment
        public static org.jboss.shrinkwrap.api.spec.WebArchive createDeployment()
      • componentsTest

        public void componentsTest()
      • externalDocumentationTest

        public void externalDocumentationTest()
      • openAPITest

        public void openAPITest()
      • operationTest

        public void operationTest()
      • pathItemTest

        public void pathItemTest()
      • pathsTest

        public void pathsTest()
      • callbackTest

        public void callbackTest()
      • exampleTest

        public void exampleTest()
      • headerTest

        public void headerTest()
      • contactTest

        public void contactTest()
      • infoTest

        public void infoTest()
      • licenseTest

        public void licenseTest()
      • linkTest

        public void linkTest()
      • contentTest

        public void contentTest()
      • discriminatorTest

        public void discriminatorTest()
      • encodingTest

        public void encodingTest()
      • mediaTypeTest

        public void mediaTypeTest()
      • schemaTest

        public void schemaTest()
      • testSchemaArbitraryProperties

        public void testSchemaArbitraryProperties()
      • xmlTest

        public void xmlTest()
      • parameterTest

        public void parameterTest()
      • requestBodyTest

        public void requestBodyTest()
      • apiResponseTest

        public void apiResponseTest()
      • apiResponsesTest

        public void apiResponsesTest()
      • oAuthFlowTest

        public void oAuthFlowTest()
      • oAuthFlowsTest

        public void oAuthFlowsTest()
      • securityRequirementTest

        public void securityRequirementTest()
      • securitySchemeTest

        public void securitySchemeTest()
      • serverTest

        public void serverTest()
      • serverVariableTest

        public void serverVariableTest()
      • tagTest

        public void tagTest()