@Test
public void isIncluded() {

    Map<String, Object> parameters = ImmutableMap.<String, Object>builder().put("includes", "**/qav-core*.jar").build();
    assertIncluded("BOOT-INF/lib/qav-core.jar", parameters, true);
    parameters = ImmutableMap.<String, Object>builder().put("includes", "*/qav-core*.jar").build();
    assertIncluded("BOOT-INF/lib/qav-core.jar", parameters, false);
    parameters = ImmutableMap.<String, Object>builder().put("includes", "*/qav-core*.jar").build();
    assertIncluded("BOOT-INF/lib/qav-core.jar", parameters, false);
    parameters = ImmutableMap.<String, Object>builder().put("excludes", "**/qav-core*.jar").build();
    assertIncluded("BOOT-INF/lib/qav-core.jar", parameters, false);
    parameters = ImmutableMap.<String, Object>builder()
            .put("includes", "**/*.jar")
            .put("excludes", "**/qav*").build();
    assertIncluded("BOOT-INF/lib/qav-core.jar", parameters, false);
    assertIncluded("BOOT-INF/lib/other.jar", parameters, true);
    parameters = ImmutableMap.<String, Object>builder()
            .put("includes", new ArrayList<>())
            .put("excludes", new ArrayList<>()).build();
    assertIncluded("BOOT-INF/lib/qav-core.jar", parameters, true);
    assertIncluded("BOOT-INF/lib/qav-core.jar", null, true);
}