test_class.declarator: fileSeparator = FileSystems.getDefault().getSeparator()
test_class.modifier: private final
test_class.original_string: private final String fileSeparator = FileSystems.getDefault().getSeparator();
test_class.type: String
test_class.var_name: fileSeparator
test_class.declarator: operation
test_class.modifier: private
test_class.original_string: private SwaggerPathOperation operation;
test_class.type: SwaggerPathOperation
test_class.var_name: operation
test_class.file: swagger2markup/src/test/java/io/github/swagger2markup/internal/resolver/OperationDocumentNameResolverTest.java
test_class.identifier: OperationDocumentNameResolverTest
test_case.body: @Test
      public void testWithInterDocumentCrossReferencesAndPrefix() {
          Swagger2MarkupConfig config = new Swagger2MarkupConfigBuilder()
                  .withInterDocumentCrossReferences("prefix_")
                  .build();
          Swagger2MarkupConverter.SwaggerContext context = createContext(config);
          context.setOutputPath(Paths.get("/tmp"));
  
          String method = HttpMethod.GET.toString();
          String path = "/test";
          SwaggerPathOperation operation = new SwaggerPathOperation(method, path, path + " " + method.toLowerCase(),
                  method + " " + path, new Operation());
          assertThat(new OperationDocumentNameResolver(context).apply(operation))
                  .isEqualTo("paths.adoc");
      }
test_case.class_method_signature: OperationDocumentNameResolverTest.testWithInterDocumentCrossReferencesAndPrefix()
test_case.full_signature: @Test public void testWithInterDocumentCrossReferencesAndPrefix()
test_case.identifier: testWithInterDocumentCrossReferencesAndPrefix
test_case.invocations: build withInterDocumentCrossReferences createContext setOutputPath get toString toLowerCase isEqualTo assertThat apply
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testWithInterDocumentCrossReferencesAndPrefix()
focal_class.file: swagger2markup/src/main/java/io/github/swagger2markup/internal/resolver/OperationDocumentNameResolver.java
focal_class.identifier: OperationDocumentNameResolver
focal_class.class_method_signature: OperationDocumentNameResolver.OperationDocumentNameResolver(Swagger2MarkupConverter.SwaggerContext context)
focal_class.full_signature: public  OperationDocumentNameResolver(Swagger2MarkupConverter.SwaggerContext context)
focal_class.identifier: OperationDocumentNameResolver
focal_class.modifiers: public
focal_class.parameters: (Swagger2MarkupConverter.SwaggerContext context)
focal_class.signature:  OperationDocumentNameResolver(Swagger2MarkupConverter.SwaggerContext context)
focal_class.class_method_signature: OperationDocumentNameResolver.apply(PathOperation operation)
focal_class.full_signature: public String apply(PathOperation operation)
focal_class.identifier: apply
focal_class.modifiers: public
focal_class.parameters: (PathOperation operation)
focal_class.return: String
focal_class.signature: String apply(PathOperation operation)
focal_class.superclass: extends OperationDocumentResolver
focal_method.body: public String apply(PathOperation operation) {
          if (config.isSeparatedOperationsEnabled())
              return new File(config.getSeparatedOperationsFolder(), markupDocBuilder.addFileExtension(normalizeName(operation.getId()))).getPath();
          else
              return markupDocBuilder.addFileExtension(config.getPathsDocument());
      }
focal_method.class_method_signature: OperationDocumentNameResolver.apply(PathOperation operation)
focal_method.full_signature: public String apply(PathOperation operation)
focal_method.identifier: apply
focal_method.invocations: isSeparatedOperationsEnabled getPath getSeparatedOperationsFolder addFileExtension normalizeName getId addFileExtension getPathsDocument
focal_method.modifiers: public
focal_method.parameters: (PathOperation operation)
focal_method.return: String
focal_method.signature: String apply(PathOperation operation)