@Test
    public void testDocumentGet() throws ParseException {
        assertEquals(Result.TRUE, evaluate("test", createGet("id:ns:test::1")));
        assertEquals(Result.FALSE, evaluate("test", createGet("id:ns:null::1")));
        assertEquals(Result.TRUE, evaluate("test", createGet("id:ns:test:n=1234:1")));
        assertEquals(Result.INVALID, evaluate("test.hint", createGet("id:ns:test::1")));
        assertEquals(Result.FALSE, evaluate("test.hint", createGet("id:ns:null::1")));
        assertEquals(Result.INVALID, evaluate("test.hint == 0", createGet("id:ns:test::1")));
        assertEquals(Result.INVALID, evaluate("test.anything", createGet("id:ns:test::1")));
        assertEquals(Result.INVALID, evaluate("test and test.hint == 0", createGet("id:ns:test::1")));
    }
@author Simon Thoresen Hult
@author bratseth
document/src/test/java/com/yahoo/document/select/DocumentSelectorTestCase.java