@Test
public void testGetEscapedPath() {

  assertThat(AdbPathUtil.getEscapedPath("")).isEqualTo("");
  assertThat(AdbPathUtil.getEscapedPath("/")).isEqualTo("/");
  assertThat(AdbPathUtil.getEscapedPath("/foo\\")).isEqualTo("/foo\\\\");
  assertThat(AdbPathUtil.getEscapedPath("/foo/&")).isEqualTo("/foo/\\&");
  assertThat(AdbPathUtil.getEscapedPath("/foo/blah/bar-#test.txt")).isEqualTo("/foo/blah/bar-\\#test.txt");
}