@Test
    public void configure_git_installations() {
        final Jenkins jenkins = Jenkins.get();
        final GitTool.DescriptorImpl descriptor = (GitTool.DescriptorImpl) jenkins.getDescriptor(GitTool.class);
        assertEquals(2, descriptor.getInstallations().length);
        assertEquals(
                "/usr/local/bin/git", descriptor.getInstallation("another_git").getGitExe());
        assertEquals("/bin/git", descriptor.getInstallation("git").getGitExe());
    }
@author <a href="mailto:nicolas.deloof@gmail.com">Nicolas De Loof</a>
integrations/src/test/java/io/jenkins/plugins/casc/GitToolInstallationTest.java