@Test
public void validArgsRegistersSinks() throws Exception {

    TelemetryAgent.agentmain(getConfigurationPath(), instrumentation);
    ImmutableList<SpanSink> registeredSinks = ImmutableList.copyOf(SpanSinkRegistry.getSpanSinks());
    assertEquals(1, registeredSinks.size());
    // todo - improve this test
    assertTrue(registeredSinks.get(0) instanceof AsynchronousSpanSink);
}