public boolean hasMaterial(MaterialConfig materialConfig) {
        for (ConfigRepoConfig c : this) {
            if (c.getRepo().equals(materialConfig)) {
                return true;
            }
        }
        return false;
    }
@Test
    public void shouldReturnTrueThatHasMaterialWhenAddedConfigRepo() {
        repos.add(ConfigRepoConfig.createConfigRepoConfig(git("http://git"), "myplugin", "id"));
        assertThat(repos.hasMaterial(git("http://git")), is(true));
    }