@Test
public void shouldProvideLength() throws Exception {

    assertThat(new JcrValue(factories, PropertyType.STRING, "test").getLength(), is(4L));
    assertThat(new JcrValue(factories, PropertyType.BINARY, "test").getLength(), is(4L));
}