@Test
public void shouldSplitPathWithExpandedNamespace() {

    String[] splits = factory.splitPath("/{http://www.jcp.org/jcr/1.0}foo/bar/{blah}baz");
    String[] correctSplits = new String[] {"{http://www.jcp.org/jcr/1.0}foo", "bar", "{blah}baz"};
    assertThat(splits, is(correctSplits));
}