badShadow.setExternalConfiguration(externalConfig);
ExternalConfigUtil.setNodeValue(externalConfig, "masterRepositoryId", "non-existent");
config.addRepository(badShadow);
// now validate it
ValidationResponse response = underTest.validateModel(new ValidationRequest(config));
assertThat(response.getValidationWarnings(), hasSize(1));
assertThat(response.getValidationErrors(), hasSize(0));
// codehaus-snapshots has no name, it will be defaulted