public class GroupTest {
@Test
public void testDepartmentName() {
Group group = and(eq("department.name", "IT"), eq("lastName",
"Hightower"));
assertEquals("(AND [department.name_EQ_IT, lastName_EQ_Hightower])",
group.toString());
group = and(eq("department_name", "IT"), eq("lastName", "Hightower"));
assertEquals("(AND [department.name_EQ_IT, lastName_EQ_Hightower])",
group.toString());
}