assertEquals("", LocalizationUtils.stripIndexPath(""));
assertEquals("/", LocalizationUtils.stripIndexPath("/"));
assertNull(LocalizationUtils.stripIndexPath(null));
}
@NotNull
<BUG>private Localization mockLocalization(String path) {

Localization localization = mock(Localization.class);
when(localization.getPath()).thenReturn(path);</BUG>
return localization;

assertEquals("", LocalizationUtils.stripIndexPath(""));
assertEquals("/", LocalizationUtils.stripIndexPath("/"));
assertNull(LocalizationUtils.stripIndexPath(null));
