Esempio n. 1
0
        public void ExpectedVirtualsInvolved()
        {
            OpenApiVisitorBase visitor = null;

            visitor = new TestVisitor();

            visitor.Enter(default(string));
            visitor.Visit(default(OpenApiDocument));
            visitor.Visit(default(OpenApiInfo));
            visitor.Visit(default(OpenApiContact));
            visitor.Visit(default(OpenApiLicense));
            visitor.Visit(default(IList <OpenApiServer>));
            visitor.Visit(default(OpenApiServer));
            visitor.Visit(default(OpenApiPaths));
            visitor.Visit(default(OpenApiPathItem));
            visitor.Visit(default(OpenApiServerVariable));
            visitor.Visit(default(IDictionary <OperationType, OpenApiOperation>));
            visitor.Visit(default(OpenApiOperation));
            visitor.Visit(default(IList <OpenApiParameter>));
            visitor.Visit(default(OpenApiParameter));
            visitor.Visit(default(OpenApiRequestBody));
            visitor.Visit(default(IDictionary <string, OpenApiHeader>));
            visitor.Visit(default(IDictionary <string, OpenApiCallback>));
            visitor.Visit(default(OpenApiResponse));
            visitor.Visit(default(OpenApiResponses));
            visitor.Visit(default(IDictionary <string, OpenApiMediaType>));
            visitor.Visit(default(OpenApiMediaType));
            visitor.Visit(default(OpenApiEncoding));
            visitor.Visit(default(IDictionary <string, OpenApiExample>));
            visitor.Visit(default(OpenApiComponents));
            visitor.Visit(default(OpenApiExternalDocs));
            visitor.Visit(default(OpenApiSchema));
            visitor.Visit(default(IDictionary <string, OpenApiLink>));
            visitor.Visit(default(OpenApiLink));
            visitor.Visit(default(OpenApiCallback));
            visitor.Visit(default(OpenApiTag));
            visitor.Visit(default(OpenApiHeader));
            visitor.Visit(default(OpenApiOAuthFlow));
            visitor.Visit(default(OpenApiSecurityRequirement));
            visitor.Visit(default(OpenApiSecurityScheme));
            visitor.Visit(default(OpenApiExample));
            visitor.Visit(default(IList <OpenApiTag>));
            visitor.Visit(default(IList <OpenApiSecurityRequirement>));
            visitor.Visit(default(IOpenApiExtensible));
            visitor.Visit(default(IOpenApiExtension));
            visitor.Visit(default(IList <OpenApiExample>));
            visitor.Visit(default(IDictionary <string, OpenApiServerVariable>));
            visitor.Visit(default(IDictionary <string, OpenApiEncoding>));
            visitor.Visit(default(IOpenApiReferenceable));
            visitor.Exit();
            Assert.True(42 < ((TestVisitor)visitor).CallStack.Count());
        }