@Test
public void testEnumDataParameter() {

    ServiceModel model = serviceClassParser.parseServiceClass(EnumClass.class, settings);
    ServiceEmitter serviceEmitter = new ServiceEmitter(model, settings, writer);
    serviceEmitter.emitTypescriptClass();
    writer.close();
    String expectedToContain = "data: `\"${myEnum}\"`";
    assertTrue(new String(stream.toByteArray()).contains(expectedToContain));
}