@Test public void validArgsAddsServiceAnnotations() throws Exception { TelemetryAgent.agentmain(getConfigurationPath(), instrumentation); assertEquals("example", Annotations.getServiceAnnotations().getService()); }
public static void agentmain(String agentArgs, Instrumentation inst) { premain(agentArgs, inst); }
TelemetryAgent { public static void agentmain(String agentArgs, Instrumentation inst) { premain(agentArgs, inst); } }
TelemetryAgent { public static void agentmain(String agentArgs, Instrumentation inst) { premain(agentArgs, inst); }  }
TelemetryAgent { public static void agentmain(String agentArgs, Instrumentation inst) { premain(agentArgs, inst); }  static void agentmain(String agentArgs, Instrumentation inst); static void premain(String agentArgs, Instrumentation inst); }
TelemetryAgent { public static void agentmain(String agentArgs, Instrumentation inst) { premain(agentArgs, inst); }  static void agentmain(String agentArgs, Instrumentation inst); static void premain(String agentArgs, Instrumentation inst);  }