@Test
public void testExecuteQuerySimple() throws RepositoryException {

    try {
        jcrTemplate.query((String) null);
        fail("should have thrown exception");
    } catch (IllegalArgumentException e) {
        // it's okay
    }
    // the rest of the test is covered by testExecuteQuery

}