@Test
  public void testDeleteAll() throws Exception {
    // Saves the test URIAvailable
    URIRepository.save(test);
    URIRepository.save(test2);

    long count = URIRepository.count();

    // Count must be two
    assertEquals(count, 2);

    URIRepository.deleteAll();

    count = URIRepository.count();

    // Count must be zero.
    assertEquals(count, 0);
  }
 @After
 // After every test, we destroy the data.
 public void finishTest() throws Exception {
   URIRepository.deleteAll();
 }