@Test
public void testWithSeparatedDefinitions() {

    Swagger2MarkupConfig config = new Swagger2MarkupConfigBuilder()
            .withSeparatedDefinitions()
            .build();
    Swagger2MarkupConverter.SwaggerContext context = createContext(config);
    assertThat(new DefinitionDocumentResolverFromOperation(context).apply("DefinitionName")).isNull();
}