Example #1
0
 @Test
 public void testGetParameters() {
   assertEquals(
       NamedParameters.create().add("rootEntity_name" + instance.hashCode(), "abc"),
       instance.getParameters());
 }
Example #2
0
 @Test
 public void testToQueryString() {
   assertEquals(
       "rootEntity.name >= :rootEntity_name" + instance.hashCode(), instance.toQueryString());
 }