public <T> Map<String, Object> properties(Class<T> base, Class<? extends T> cls) {
        return this.generate(cls, base);
    }
@SuppressWarnings("unchecked")
    @Test
    void betaTask() {
        Map<String, Object> generate = jsonSchemaGenerator.properties(Task.class, BetaTask.class);
        assertThat(generate, is(not(nullValue())));
        assertThat(generate.get("$beta"), is(true));
        assertThat(((Map<String, Map<String, Object>>) generate.get("properties")).size(), is(1));
        assertThat(((Map<String, Map<String, Object>>) generate.get("properties")).get("beta").get("$beta"), is(true));
    }