PatternInspector implements HasConflicts,
                   IsConflicting,
                   IsSubsuming,
                   IsRedundant,
                   HumanReadable,
                   HasKeys { @Override public boolean subsumes(final Object other) { if (other instanceof PatternInspector) { if (pattern.getObjectType() .getType() .equals(((PatternInspector) other).getPattern() .getObjectType() .getType())) { return inspectorList.subsumes(((PatternInspector) other).inspectorList); } else { return false; } } else { return false; } } PatternInspector(final Pattern pattern,
                            final RuleInspectorUpdater ruleInspectorUpdater,
                            final AnalyzerConfiguration configuration); Pattern getPattern(); @Override boolean conflicts(final Object other); @Override boolean isRedundant(final Object other); @Override boolean subsumes(final Object other); @Override Conflict hasConflicts(); ActionsInspectorMultiMap getActionsInspector(); ConditionsInspectorMultiMap getConditionsInspector(); @Override String toHumanReadableString(); @Override UUIDKey getUuidKey(); @Override Key[] keys();  }
@Test public void testSubsumpt01() throws Exception { assertTrue(a.subsumes(b)); assertTrue(b.subsumes(a)); }
@Test public void testSubsumpt02() throws Exception { final PatternInspector x = new PatternInspector(new Pattern("x", new ObjectType("org.Address", configurationMock), configurationMock), mock(RuleInspectorUpdater.class), mock(AnalyzerConfiguration.class)); assertFalse(x.subsumes(b)); assertFalse(b.subsumes(x)); }