@Test public void validArgsRegistersSinks() throws Exception { TelemetryAgent.agentmain(getConfigurationPath(), instrumentation); ImmutableList<SpanSink> registeredSinks = ImmutableList.copyOf(SpanSinkRegistry.getSpanSinks()); assertEquals(1, registeredSinks.size()); assertTrue(registeredSinks.get(0) instanceof AsynchronousSpanSink); }
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);  }