@Test public void testShouldExpectAfterExtract() { ExpectPaths.Check check1 = checkFor(obj().get()); assertTrue("expect true for empty", check1.shouldExpectAfterExtract(PackageId.fromString("foo"))); ExpectPaths.Check check2 = checkFor(key(ExpectPaths.keys().afterPackageIdRules(), arr() .val(key("type", "include").key("pattern", "^my_packages:.*"))).get()); assertFalse("expect false", check2.shouldExpectAfterExtract(PackageId.fromString("adamcin:test:1.0"))); assertTrue("expect true", check2.shouldExpectAfterExtract(PackageId.fromString("my_packages:test:1.0"))); }
@NotNull public static JsonKeys keys() { return KEYS; }
ExpectPaths implements ProgressCheckFactory { @NotNull public static JsonKeys keys() { return KEYS; } }
ExpectPaths implements ProgressCheckFactory { @NotNull public static JsonKeys keys() { return KEYS; }  }
ExpectPaths implements ProgressCheckFactory { @NotNull public static JsonKeys keys() { return KEYS; }  @NotNull static JsonKeys keys(); @Override ProgressCheck newInstance(final JsonObject config); }
ExpectPaths implements ProgressCheckFactory { @NotNull public static JsonKeys keys() { return KEYS; }  @NotNull static JsonKeys keys(); @Override ProgressCheck newInstance(final JsonObject config); @Deprecated
    static final String CONFIG_EXPECTED_PATHS; @Deprecated
    static final String CONFIG_NOT_EXPECTED_PATHS; @Deprecated
    static final String CONFIG_AFTER_PACKAGE_ID_RULES; @Deprecated
    static final String CONFIG_SEVERITY; }