@Test
    public void export_git_installations() throws Exception {
        ConfiguratorRegistry registry = ConfiguratorRegistry.get();
        ConfigurationContext context = new ConfigurationContext(registry);
        CNode yourAttribute = getToolRoot(context).get("git");

        String exported = toYamlString(yourAttribute);

        String expected = toStringFromYamlFile(this, "GitToolInstallationTestExpected.yml");

        assertThat(exported, is(expected));
    }
@author <a href="mailto:nicolas.deloof@gmail.com">Nicolas De Loof</a>
integrations/src/test/java/io/jenkins/plugins/casc/GitToolInstallationTest.java