BooleanConditionInspector extends ComparableConditionInspector { @Override public boolean conflicts(final Object other) { return !isRedundant(other); } BooleanConditionInspector(final FieldCondition<Boolean> fieldCondition,
                                     final AnalyzerConfiguration configuration); @Override boolean isRedundant(final Object other); @Override boolean conflicts(final Object other); @Override boolean overlaps(final Object other); @Override boolean subsumes(final Object other); @Override String toHumanReadableString();  }
@Test public void parametrizedConflictTest() { BooleanConditionInspector a = getCondition(value1, operator1); BooleanConditionInspector b = getCondition(value2, operator2); assertEquals(getAssertDescription(a, b, conflictExpected, "conflict"), conflictExpected, a.conflicts(b)); assertEquals(getAssertDescription(b, a, conflictExpected, "conflict"), conflictExpected, b.conflicts(a)); }