@Test
public void testWithInterDocumentCrossReferencesAndPrefix() {

    Swagger2MarkupConfig config = new Swagger2MarkupConfigBuilder()
            .withInterDocumentCrossReferences("prefix_")
            .build();
    Swagger2MarkupConverter.SwaggerContext context = createContext(config);
    context.setOutputPath(Paths.get("/tmp"));
    assertThat(new DefinitionDocumentResolverFromOperation(context).apply("DefinitionName"))
            .isEqualTo("prefix_definitions.adoc");
}