/**
  * testTrimPath
  *
  * @return void
  */
 public function testTrimPath()
 {
     $result = StorageUtils::trimPath('foobar/');
     $this->assertEquals($result, 'foobar');
 }
 /**
  * Helper method to trim last trailing slash in file path
  *
  * @param string $path Path to trim
  * @return string Trimmed path
  */
 public static function trimPath($path)
 {
     return StorageUtils::trimPath($path);
 }