@SuppressWarnings("unchecked")
    private <ENTITY> FieldPredicate<ENTITY> mockFieldPredicate(PredicateType predicateType, ENTITY value, Inclusion inclusion) {
        final TestReadyFieldPredicate<ENTITY> predicate = (TestReadyFieldPredicate<ENTITY>) mock(TestReadyFieldPredicate.class);

        when(predicate.getPredicateType()).thenReturn(predicateType);
        when(predicate.get(0)).thenReturn(value);
        when(predicate.getInclusion()).thenReturn(inclusion);

        return predicate;
    }
Returns an instance of the {@link com.speedment.runtime.core.db.FieldPredicateView}
that is being tested.

@return instance of the {@link com.speedment.runtime.core.db.FieldPredicateView}
test-parent/connector/src/main/java/com/speedment/test/connector/abstracts/AbstractFieldPredicateViewMixin.java