@Test public void testAgentMain() throws Exception { Installer.agentmain(FOO, instrumentation); assertThat(ByteBuddyAgent.getInstrumentation(), is(instrumentation)); }
@SuppressWarnings("unused") public static void agentmain(String arguments, Instrumentation instrumentation) { Installer.instrumentation = instrumentation; }
Installer { @SuppressWarnings("unused") public static void agentmain(String arguments, Instrumentation instrumentation) { Installer.instrumentation = instrumentation; } }
Installer { @SuppressWarnings("unused") public static void agentmain(String arguments, Instrumentation instrumentation) { Installer.instrumentation = instrumentation; } private  Installer(); }
Installer { @SuppressWarnings("unused") public static void agentmain(String arguments, Instrumentation instrumentation) { Installer.instrumentation = instrumentation; } private  Installer(); static Instrumentation getInstrumentation(); static void premain(String arguments, Instrumentation instrumentation); @SuppressWarnings("unused") static void agentmain(String arguments, Instrumentation instrumentation); }
Installer { @SuppressWarnings("unused") public static void agentmain(String arguments, Instrumentation instrumentation) { Installer.instrumentation = instrumentation; } private  Installer(); static Instrumentation getInstrumentation(); static void premain(String arguments, Instrumentation instrumentation); @SuppressWarnings("unused") static void agentmain(String arguments, Instrumentation instrumentation);  }