@Test
public void testPrependVMArguments() {

  AgentConfigs agentConfigs = new AgentConfigs();
  assertEquals("-javaagent:/tmp/foo=",
      agentConfigs.prependVMArguments("-javaagent:/tmp/foo=", new File("/tmp/foo")));
  assertEquals("-javaagent:/tmp/foo= -cp .:/tmp/",
      agentConfigs.prependVMArguments("-cp .:/tmp/", new File("/tmp/foo")));
}