@Test
public void testToString() {

    ListValue lv1 = PropertyValue.createList("foo");
    String toString = lv1.toString();
    assertThat(toString).isNotNull();
    lv1.addList();
    toString = lv1.toString();
    assertThat(toString).isNotNull();
    lv1.addObject();
    toString = lv1.toString();
    assertThat(toString).isNotNull();
    lv1.addValue("valueKey");
    toString = lv1.toString();
    assertThat(toString).isNotNull();
    assertThat("List{, size='3', values=[List{, size='0', values=[]}, Object{size='0', values='{}}, " +
            "valueKey]}").isEqualTo(toString);
}