@Override
    @PublicAPI(usage = ACCESS)
    public void check(JavaClasses classes) {
        Assertions.check(this, classes);
    }
@Test
    public void fails_on_empty_should_by_default() {
        assertThatThrownBy(() -> compositeRuleWithPartialEmptyShould().check(new ClassFileImporter().importClasses(Object.class)))
                .isInstanceOf(AssertionError.class)
                .hasMessageContaining("failed to check any classes");
    }