source: class UtilsTest {
  
      @Test
      public void getFolder() {
  
target:         String res = Utils.getFolder("/storage/sdcard0/images/");
          assertEquals("/storage/sdcard0/images", res);
  
          res = Utils.getFolder("/storage/sdcard0/images/aa.pic");
          assertEquals("/storage/sdcard0/images", res);
      }
  
  }