@Test
public void shouldRemoveDataEnumInterfaceSuffix() throws Exception {

  assertThat(
      OutputSpecFactory.toOutputClassName(ClassName.get("com.spotify", "My_dataenum")),
      is(ClassName.get("com.spotify", "My")));
}