public boolean isWhitelist() {
        if (this.filter != null)
            return this.filter.isIncluded();
        return false;
    }
@Test
    public void isWhiteList_shouldBeTrueInPresenceOfIncludesFilter() {
        CRPluggableScmMaterial pluggableScmMaterial = new CRPluggableScmMaterial("myPluggableGit", "someScmGitRepositoryId",
            "destinationDir", List.of("mydir"), true);

        assertTrue(pluggableScmMaterial.isWhitelist());
    }