    @Test
    public void testWithInterDocumentCrossReferencesAndNoOutputPath() {

        Swagger2MarkupConfig config = (Swagger2MarkupConfig) new Swagger2MarkupConfigBuilder()
                .withInterDocumentCrossReferences()
                .build();
        Swagger2MarkupConverter.SwaggerContext context = createContext(config);

        assertThat(new DefinitionDocumentNameResolver(context).apply("DefinitionName"))
                .isEqualTo("definitions.adoc");
    }