@Test
public void testDelete() throws Exception {

   QueryDef query = new QueryDef("test", UserEntity.class, QueryType.DELETE, "<fields/>");
   Readset<?> readset = UserEntity.READSET_FULL;
   User user = new User();
   QueryContext ctx = getSelectContext(query, user, readset);
   try {
      m_queryResolver.resolve(ctx);
      Assert.fail("DalRuntimeException expected");
   } catch (DalRuntimeException e) {
      // expected
   }
}