@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;
        }
    }
@Test
    void testSubsumpt01() throws Exception {
        assertThat(a.subsumes(b)).isTrue();
        assertThat(b.subsumes(a)).isTrue();
    }