    @Test
    public void getIndex() {

        ListValue lv = PropertyValue.createList();
        PropertyValue val = new PropertyValue(  "k", "v");
        lv.addPropertyValue(val);
        PropertyValue val2 = new PropertyValue(  "k2", "v2");
        lv.addPropertyValue(val2);
        assertThat(0).isEqualTo(lv.getIndex(val));
        assertThat(1).isEqualTo(lv.getIndex(val2));
        PropertyValue val3 = new PropertyValue(  "k3", "v");
        assertThat(-1).isEqualTo(lv.getIndex(val3));
    }