@Test
  public void simplePathIsUnchanged() {

    String path = "/project/directory/file.txt";

    assertThat(ResourceUtil.getResourcePathPermutations(path), is(singletonList(path)));
  }
  @Test
  public void pathWithTagsIsCleaned() {

    String path = "/project/tags/1.0/directory/file.txt";
    String cleanPath = "/project/directory/file.txt";

    assertThat(ResourceUtil.getResourcePathPermutations(path), is(Arrays.asList(path, cleanPath)));
  }