@Test
public void pluginConvertsModel() {

    Model model = Model.assembler()
            .addImport(OpenApiConverterTest.class.getResource("test-service.json"))
            .discoverModels()
            .assemble()
            .unwrap();
    MockManifest manifest = new MockManifest();
    PluginContext context = PluginContext.builder()
            .settings(Node.objectNode()
                    .withMember("service", "example.rest#RestService")
            )
            .fileManifest(manifest)
            .model(model)
            .originalModel(model)
            .build();
    new Smithy2OpenApi().execute(context);
    assertTrue(manifest.hasFile("RestService.openapi.json"));
}