Пример #1
0
 public void testExtractPath_hasParent_returnsParent() {
   String ret = Utility.extractPath("root/content.opf");
   Assert.assertEquals("root", ret);
 }
Пример #2
0
 public void testExtractPath_noParent_returnsEmptyString() {
   String ret = Utility.extractPath("content.opf");
   Assert.assertEquals("", ret);
 }