this.trsSpecificExpectedQuery =
"START `person`=node:`Person`(`name2`={0}), `person_group`=node:`Group`(`name2`={1}) " +
"MATCH (`person`)<-[:`members`]-(`person_group`), (`person`)<-[:`members`]-(`person_group`)-[:`members`]->(`person_group_members`) " +
"WHERE `person`.`age` > {2} AND `person_group_members`.`age` = {3} " +
"RETURN `person`";
query.addRestriction(new Part("name2", Person.class));
query.addRestriction(new Part("group_Name2", Person.class));
query.addRestriction(new Part("ageGreaterThan", Person.class));
query.addRestriction(new Part("groupMembersAge", Person.class));
assertThat(query.toString(), is( trsSpecificExpectedQuery ));
}