@Test
public void shouldProvideBooleanForString() throws Exception {

    assertThat(new JcrValue(factories, PropertyType.STRING, "true").getBoolean(), is(true));
    assertThat(new JcrValue(factories, PropertyType.STRING, "yes").getBoolean(), is(false));
}