@Test
    public void testReservedWords() throws ParseException {
        assertParse(null, "id == 'id' or id_t or idtype"); // ignore canonical form
        assertParse(null, "id.scheme == 'scheme' or scheme_t or schemetype");
        assertParse(null, "id.namespace == 'namespace' or namespace_t or namespacetype");
        assertParse(null, "id.specific == 'specific' or specific_t or specifictype");
        assertParse(null, "id.user == 'user' or user_t or usertype");
        assertParse(null, "id.group == 'group' or group_t or grouptype");
        assertParse(null, "id.bucket == 'bucket' or bucket_t or buckettype");
        assertParse(null, "null == 'null' or null_t or nulltype");
        assertParse(null, "true or true_t or truetype");
        assertParse(null, "false or false_t or falsetype");
        assertParse(null, "true or and_t or andtype");
        assertParse(null, "true or or_t or ortype");
        assertParse(null, "user or group");
        assertParse(null, "user.foo or group.bar");
        assertParse("user.id == id.user", "user.id == id.user");
        assertParse("group.iD == id.user", "group.iD == id.user"); // Casing is preserved
    }
@author Simon Thoresen Hult
@author bratseth
document/src/test/java/com/yahoo/document/select/DocumentSelectorTestCase.java