BooleanConditionInspector extends ComparableConditionInspector { @Override public boolean subsumes(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 parametrizedSubsumptionTest() { BooleanConditionInspector a = getCondition(value1, operator1); BooleanConditionInspector b = getCondition(value2, operator2); assertEquals(getAssertDescription(a, b, !conflictExpected, "be subsuming"), !conflictExpected, a.subsumes(b)); assertEquals(getAssertDescription(b, a, !conflictExpected, "be subsuming"), !conflictExpected, b.subsumes(a)); }