@Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        QueryEntry that = (QueryEntry) o;
        if (!key.equals(that.key)) {
            return false;
        }
        return true;
    }
@Test
    public void test_equality_differentKey() {
        QueryableEntry queryEntry = createEntry("dataKey", "dataValue");
        QueryableEntry queryEntryOther = createEntry("dataKeyOther", "dataValue");

        assertFalse(queryEntry.equals(queryEntryOther));
    }