@Override
    public String displayName() {
        MaterialConfig materialConfig = configRepo != null ?
            configRepo.getRepo() : null;
        String materialName = materialConfig != null ?
            materialConfig.getDisplayName() : "NULL material";
        return String.format("%s at revision %s", materialName, revision);
    }
@Test
    public void shouldShowDisplayName() {
        RepoConfigOrigin repoConfigOrigin = new RepoConfigOrigin(ConfigRepoConfig.createConfigRepoConfig(svn("http://mysvn", false), "myplugin", "id"), "123");
        assertThat(repoConfigOrigin.displayName(), is("http://mysvn at revision 123"));
    }