@Test
public void testJsonSchemaGenerator() throws IOException {

    Collection<GeneratedFile> files =
            new JsonSchemaGenerator.ClassBuilder(
                    Stream.of(PersonInputParams.class, PersonOutputParams.class, IgnoredClass.class))
                    .build().generate();
    assertEquals(1, files.size());
    GeneratedFile file = files.iterator().next();
    assertEquals("org#jbpm#test_test.json", file.relativePath());
    assertSchema(file, SchemaVersion.DRAFT_7);
}