test_class.declarator: COMPONENT_NAME = "produces"
test_class.modifier: private static final
test_class.original_string: private static final String COMPONENT_NAME = "produces";
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/ProducesComponentTest.java
test_class.identifier: ProducesComponentTest
test_class.superclass: extends AbstractComponentTest
test_case.body: @Test
      public void testProducesComponent() throws URISyntaxException {
          List<String> produces = new ArrayList<>();
          produces.add("application/json");
          produces.add("application/xml");
  
          Swagger2MarkupConverter.SwaggerContext context = createContext();
          MarkupDocBuilder markupDocBuilder = context.createMarkupDocBuilder();
  
          markupDocBuilder = new ProducesComponent(context)
                  .apply(markupDocBuilder, ProducesComponent.parameters(produces, OverviewDocument.SECTION_TITLE_LEVEL));
          markupDocBuilder.writeToFileWithoutExtension(outputDirectory, StandardCharsets.UTF_8);
  
          Path expectedFile = getExpectedFile(COMPONENT_NAME);
          DiffUtils.assertThatFileIsEqual(expectedFile, outputDirectory, getReportName(COMPONENT_NAME));
  
      }
test_case.class_method_signature: ProducesComponentTest.testProducesComponent()
test_case.full_signature: @Test public void testProducesComponent()
test_case.identifier: testProducesComponent
test_case.invocations: add add createContext createMarkupDocBuilder apply parameters writeToFileWithoutExtension getExpectedFile assertThatFileIsEqual getReportName
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testProducesComponent()
focal_class.file: swagger2markup/src/main/java/io/github/swagger2markup/internal/component/ProducesComponent.java
focal_class.identifier: ProducesComponent
focal_class.class_method_signature: ProducesComponent.ProducesComponent(Swagger2MarkupConverter.SwaggerContext context)
focal_class.full_signature: public  ProducesComponent(Swagger2MarkupConverter.SwaggerContext context)
focal_class.identifier: ProducesComponent
focal_class.modifiers: public
focal_class.parameters: (Swagger2MarkupConverter.SwaggerContext context)
focal_class.signature:  ProducesComponent(Swagger2MarkupConverter.SwaggerContext context)
focal_class.class_method_signature: ProducesComponent.parameters(List<String> consumes,
                                                            int titleLevel)
focal_class.full_signature: public static ProducesComponent.Parameters parameters(List<String> consumes,
                                                            int titleLevel)
focal_class.identifier: parameters
focal_class.modifiers: public static
focal_class.parameters: (List<String> consumes,
                                                            int titleLevel)
focal_class.return: ProducesComponent.Parameters
focal_class.signature: ProducesComponent.Parameters parameters(List<String> consumes,
                                                            int titleLevel)
focal_class.class_method_signature: ProducesComponent.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<ProducesComponent.Parameters>
focal_method.body: public ProducesComponent(Swagger2MarkupConverter.SwaggerContext context) {
          super(context);
      }
focal_method.class_method_signature: ProducesComponent.ProducesComponent(Swagger2MarkupConverter.SwaggerContext context)
focal_method.full_signature: public  ProducesComponent(Swagger2MarkupConverter.SwaggerContext context)
focal_method.identifier: ProducesComponent
focal_method.modifiers: public
focal_method.parameters: (Swagger2MarkupConverter.SwaggerContext context)
focal_method.signature:  ProducesComponent(Swagger2MarkupConverter.SwaggerContext context)