public void setup() { if (!isPlatformSupported(getSession().getLogin().getPlatform())) { throw new TestWarningException("This EJBQL is not supported on this platform."); } if (getReferenceClass() == null) { setReferenceClass(Employee.class); } getQuery().setEJBQLString(getEjbqlString()); }