126127128129130131132133134135
final String expected = "select e from Simple e " + "where e.name = ?1"; // when String result = QueryRoot.create(name, repoFetchBy, new MethodPrefix("fetchBy", name)).getJpqlQuery().trim(); // then assertEquals(expected, result); }
134135136137138139140
assertEquals(expected, result); } private MethodPrefix prefix(final String name) { return new MethodPrefix("", name); }