public <T> T parse(String input, Class<T> cls) {
        return readFlow(input, cls, type(cls));
    }
@Test
    void inputsOld() {
        Flow flow = this.parse("flows/tests/inputs-old.yaml");

        assertThat(flow.getInputs().size(), is(1));
        assertThat(flow.getInputs().getFirst().getId(), is("myInput"));
        assertThat(flow.getInputs().getFirst().getType(), is(Type.STRING));
    }