@Test
public void toObjectValue() {

    ListValue lv = PropertyValue.createList("foo");
    lv.addList().addValue("a");
    ObjectValue ov = lv.toObjectValue();
    assertThat(ov).isNotNull();
    assertThat(ov.getKey()).isEqualTo(lv.getKey());
    assertThat(ov.getValue("[0]")).isNotNull();
    assertThat(ov.getValue("[0]")).isEqualTo("List: [a]");
}