}
public void testStoreDuplicatedContributionInRepository() throws Exception {
URL contributionLocation = getClass().getResource(JAR_CONTRIBUTION);
String contributionId1 = CONTRIBUTION_001_ID;
ModelResolver resolver = new ModelResolverImpl(getClass().getClassLoader());
contributionService.contribute(contributionId1, contributionLocation, resolver, true);
assertNotNull(contributionService.getContribution(contributionId1));
String contributionId2 = CONTRIBUTION_002_ID;
ModelResolver resolver2 = new ModelResolverImpl(getClass().getClassLoader());
contributionService.contribute(contributionId2, contributionLocation, resolver2, true);
assertNotNull(contributionService.getContribution(contributionId2));
}