@Test
public void testGetCanonicalForm() {

  final Object[][] testParameters = new Object[][] {
      {"/Users/tester", "/Users/tester"},
      {"/Users/admin/systems", "/Users/admin/systems"},
      {"./tests/./subtest1", "tests/subtest1"},
      {"././tests/../subtest2", "subtest2"}};
  for (final Object[] testParameter : testParameters) {
    String expected = (String) testParameter[1];
    String path = (String) testParameter[0];
    assertEquals(expected, FilepathUtils.getCanonicalForm(path));
  }
}