### Question:
GenericType { static GenericType parse(String raw) { return new GenericTypeParser(raw).parse(); }    }### Answer:
@Test public void parse() { GenericType type = new GenericTypeParser("my.exa.Repo<T,K>").parse(); assertThat(type.getMainType()).isEqualTo("my.exa.Repo"); assertThat(type.getParams()).hasSize(2); assertThat(type.getParams().get(0).getMainType()).isEqualTo("T"); assertThat(type.getParams().get(1).getMainType()).isEqualTo("K"); }