test_class.declarator: COMPONENT_NAME = "external_docs"
test_class.modifier: private static final
test_class.original_string: private static final String COMPONENT_NAME = "external_docs";
test_class.type: String
test_class.var_name: COMPONENT_NAME
test_class.declarator: outputDirectory
test_class.modifier: private
test_class.original_string: private Path outputDirectory;
test_class.type: Path
test_class.var_name: outputDirectory
test_class.file: swagger2markup/src/test/java/io/github/swagger2markup/internal/component/ExternalDocsComponentTest.java
test_class.identifier: ExternalDocsComponentTest
test_class.superclass: extends AbstractComponentTest
test_case.body: @Test
      public void testExternalDocsComponent() throws URISyntaxException {
  	    //Given
  	    Path file = Paths.get(DefinitionComponentTest.class.getResource("/yaml/swagger_petstore_20160612.yaml").toURI());
  	    Swagger2MarkupConverter converter = Swagger2MarkupConverter.from(file).build();
  	    Swagger swagger = converter.getContext().getSchema();
  
  	    ExternalDocs externalDocs = swagger.getExternalDocs();
  	    Assert.assertNotNull(externalDocs);
  
  	    Swagger2MarkupConverter.SwaggerContext context = converter.getContext();
  	    MarkupDocBuilder markupDocBuilder = context.createMarkupDocBuilder();
  
  	    //When
  	    markupDocBuilder = new ExternalDocsComponent(context).apply(markupDocBuilder, ExternalDocsComponent.parameters(externalDocs, OverviewDocument.SECTION_TITLE_LEVEL));
  	    markupDocBuilder.writeToFileWithoutExtension(outputDirectory, StandardCharsets.UTF_8);
  
  	    //Then
  	    Path expectedFile = getExpectedFile(COMPONENT_NAME);
  	    DiffUtils.assertThatFileIsEqual(expectedFile, outputDirectory, getReportName(COMPONENT_NAME));
  
      }
test_case.class_method_signature: ExternalDocsComponentTest.testExternalDocsComponent()
test_case.full_signature: @Test public void testExternalDocsComponent()
test_case.identifier: testExternalDocsComponent
test_case.invocations: get toURI getResource build from getSchema getContext getExternalDocs assertNotNull getContext createMarkupDocBuilder apply parameters writeToFileWithoutExtension getExpectedFile assertThatFileIsEqual getReportName
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testExternalDocsComponent()
focal_class.file: swagger2markup/src/main/java/io/github/swagger2markup/internal/component/ExternalDocsComponent.java
focal_class.identifier: ExternalDocsComponent
focal_class.class_method_signature: ExternalDocsComponent.ExternalDocsComponent(Swagger2MarkupConverter.SwaggerContext context)
focal_class.full_signature: public  ExternalDocsComponent(Swagger2MarkupConverter.SwaggerContext context)
focal_class.identifier: ExternalDocsComponent
focal_class.modifiers: public
focal_class.parameters: (Swagger2MarkupConverter.SwaggerContext context)
focal_class.signature:  ExternalDocsComponent(Swagger2MarkupConverter.SwaggerContext context)
focal_class.class_method_signature: ExternalDocsComponent.parameters(ExternalDocs externalDocs, int titleLevel)
focal_class.full_signature: public static ExternalDocsComponent.Parameters parameters(ExternalDocs externalDocs, int titleLevel)
focal_class.identifier: parameters
focal_class.modifiers: public static
focal_class.parameters: (ExternalDocs externalDocs, int titleLevel)
focal_class.return: ExternalDocsComponent.Parameters
focal_class.signature: ExternalDocsComponent.Parameters parameters(ExternalDocs externalDocs, int titleLevel)
focal_class.class_method_signature: ExternalDocsComponent.apply(MarkupDocBuilder markupDocBuilder, Parameters params)
focal_class.full_signature: @Override public MarkupDocBuilder apply(MarkupDocBuilder markupDocBuilder, Parameters params)
focal_class.identifier: apply
focal_class.modifiers: @Override public
focal_class.parameters: (MarkupDocBuilder markupDocBuilder, Parameters params)
focal_class.return: MarkupDocBuilder
focal_class.signature: MarkupDocBuilder apply(MarkupDocBuilder markupDocBuilder, Parameters params)
focal_class.superclass: extends MarkupComponent<ExternalDocsComponent.Parameters>
focal_method.body: public ExternalDocsComponent(Swagger2MarkupConverter.SwaggerContext context) {
          super(context);
      }
focal_method.class_method_signature: ExternalDocsComponent.ExternalDocsComponent(Swagger2MarkupConverter.SwaggerContext context)
focal_method.full_signature: public  ExternalDocsComponent(Swagger2MarkupConverter.SwaggerContext context)
focal_method.identifier: ExternalDocsComponent
focal_method.modifiers: public
focal_method.parameters: (Swagger2MarkupConverter.SwaggerContext context)
focal_method.signature:  ExternalDocsComponent(Swagger2MarkupConverter.SwaggerContext context)