@Test
public void testStartsWithPrefix() {

	Branch branch = Mockito.mock(Branch.class);
	when(branch.getPathPrefix()).thenReturn("cba");
	assertFalse(PathPrefixUtil.startsWithPrefix(branch, "/abc"));
	when(branch.getPathPrefix()).thenReturn("abc");
	assertTrue(PathPrefixUtil.startsWithPrefix(branch, "/abc"));
}