@Test
public void getValue() {

    ObjectValue ov = PropertyValue.createObject();
    PropertyValue val = new PropertyValue("k1", "v");
    ov.setPropertyValue(val);
    PropertyValue val2 = new PropertyValue("k2", "v");
    ov.setPropertyValue(val2);
    assertThat(ov.getValues()).isNotNull().hasSize(2);
    assertThat(val).isEqualTo(ov.getPropertyValue("k1"));
    assertThat(val2).isEqualTo(ov.getPropertyValue("k2"));
    ov.setPropertyValue(val2);
    assertThat(ov.getValues()).isNotNull().hasSize(2);
    assertThat(val).isEqualTo(ov.getPropertyValue("k1"));
    assertThat(val2).isEqualTo(ov.getPropertyValue("k2"));
}