private void assertPredicate(Set<Predicate> entries, int position, OperationKey expectedKey, Object expectedValue) {
assertPredicate(entries, position, expectedKey.getKey(), expectedValue);
}
private void assertPredicate(Set<Predicate> entries, int position, String expectedKey, Object expectedValue) {
Predicate predicate = getPredicateByPosition(entries, position);
Assert.assertEquals(expectedValue, predicate.getValue());
Assert.assertEquals(expectedKey, predicate.getKey());
}