@Test
public void testGetParentPath() {

  assertThat(AdbPathUtil.getParentPath("")).isEqualTo("");
  assertThat(AdbPathUtil.getParentPath("/")).isEqualTo("");
  assertThat(AdbPathUtil.getParentPath("/foo")).isEqualTo("/");
  assertThat(AdbPathUtil.getParentPath("/foo/")).isEqualTo("/");
  assertThat(AdbPathUtil.getParentPath("/foo/bar")).isEqualTo("/foo");
  assertThat(AdbPathUtil.getParentPath("/foo/bar/")).isEqualTo("/foo");
  assertThat(AdbPathUtil.getParentPath("/foo/blah/bar-test.txt")).isEqualTo("/foo/blah");
}