@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
    @SuppressWarnings("ObjectEqualsNull")
    public void test_equality_null() {
        QueryableEntry entry = createEntry();

        assertFalse(entry.equals(null));
    }