@Test
public void testUniqueness() throws URISyntaxException {

  final int NUMBER_OF_CONTEXTS_TO_GENERATE = 100;
  final URI prefix = new URI("abc4trust.eu/test-context");
  
  Set<URI> contexts = new HashSet<URI>();
  for(int i=0;i<NUMBER_OF_CONTEXTS_TO_GENERATE;++i) {
    URI context = contextGenerator.getUniqueContext(prefix);
    
    // Will not insert duplicates
    contexts.add(context);
  }
  
  assertEquals(NUMBER_OF_CONTEXTS_TO_GENERATE, contexts.size());
}