@Test
public void testWithGlowrootJar() throws Exception {

    File glowrootJar = new File("x/glowroot.jar").getAbsoluteFile();
    CodeSource codeSource = new CodeSource(glowrootJar.toURI().toURL(), new Certificate[0]);
    assertThat(ToolMain.getGlowrootJarFile(codeSource)).isEqualTo(glowrootJar);
}