@Override
    public int launch(AgentLaunchDescriptor descriptor) {
        LogConfigurator logConfigurator = new LogConfigurator("agent-launcher-logback.xml");
        return logConfigurator.runWithLogger(() -> doLaunch(descriptor));
    }
@Test
    @DisabledOnOs(OS.WINDOWS)
    public void shouldDownload_AgentJar_IfTheCurrentJarIsStale() throws Exception {
        TEST_AGENT_LAUNCHER.copyTo(AGENT_LAUNCHER_JAR);
        File staleJar = randomFile(AGENT_BINARY_JAR);
        long original = staleJar.length();
        new AgentLauncherImpl().launch(launchDescriptor());
        assertThat(staleJar.length(), not(original));
    }