@Test
public void getSize() {

    ObjectValue ov = PropertyValue.createObject();
    assertThat(0).isEqualTo(ov.getSize());
    PropertyValue val = new PropertyValue("k", "v");
    ov.setPropertyValue(val);
    assertThat(1).isEqualTo(ov.getSize());
    PropertyValue val2 = new PropertyValue("k2", "v");
    ov.setPropertyValue(val2);
    assertThat(2).isEqualTo(ov.getSize());
    PropertyValue val3 = new PropertyValue("k2", "v");
    ov.setPropertyValue(val3);
    assertThat(2).isEqualTo(ov.getSize());
}