* Test of find method with JpqlQuery as parameter
*/
@Test
public void testJpqlQueryFindWithMapParameters() {
String queryString = "select o from Dictionary o where o.category = :category";
JpqlQuery query = new JpqlQuery(repository, queryString)
.addParameter("category", gender);
List<Dictionary> results = repository.find(query);
assertTrue(results.contains(male));
assertFalse(results.contains(undergraduate));
}