@Test
public void testConcreteObjectService() {

    ServiceModel model = serviceClassParser.parseServiceClass(ConcreteObjectService.class, settings);
    ServiceEmitter serviceEmitter = new ServiceEmitter(model, settings, writer);
    serviceEmitter.emitTypescriptClass();
    writer.close();
    String expectedOutput = "\n" +
ort class ConcreteObjectServiceImpl implements ConcreteObjectService {\n" +
 +
 private httpApiBridge: HttpApiBridge;\n" +
 constructor(httpApiBridge: HttpApiBridge) {\n" +
     this.httpApiBridge = httpApiBridge;\n" +
 }\n" +
 +
 public noPathGetter() {\n" +
     var httpCallData = <HttpEndpointOptions> {\n" +
         serviceIdentifier: \"concreteObjectService\",\n" +
         endpointPath: \"concreteObject\",\n" +
         endpointName: \"noPathGetter\",\n" +
         method: \"GET\",\n" +
         requestMediaType: \"application/json\",\n" +
         responseMediaType: \"\",\n" +
         requiredHeaders: [],\n" +
         pathArguments: [],\n" +
         queryArguments: {\n" +
         },\n" +
         data: null\n" +
     };\n" +
     return this.httpApiBridge.callEndpoint<string>(httpCallData);\n" +
 }\n" +
";
    assertEquals(expectedOutput, new String(stream.toByteArray()));
}