public static ModTest getComplexModTest() { ModTest test = getSimpleModTest(); test.setName("Complex " + test.getName()); test.setEjbqlString(test.getEjbqlString() + " AND emp.firstName <> \"XCV\""); return test; }
private static ModTest getNewTestCaseNamed(String name, String ejbql, Class referenceClass) { ModTest test = new ModTest(); test.setName(name); test.setEjbqlString(ejbql); test.setReferenceClass(referenceClass); return test; }