Tests/Integration/BMD_cFSRMFileScreen.config.ps1

$fileScreen = @{
    Path            = $ENV:Temp
    Description     = 'Integration Test'
    Ensure          = 'Present'
    Active          = $false
    IncludeGroup    = [System.Collections.ArrayList]@( 'Audio and Video Files','Executable Files','Backup Files' )
    Template        = (Get-FSRMFileScreenTemplate | Select-Object -First 1).Name
    MatchesTemplate = $false
}

Configuration BMD_cFSRMFileScreen_Config {
    Import-DscResource -ModuleName cFSRM
    node localhost {
       cFSRMFileScreen Integration_Test {
            Path            = $fileScreen.Path
            Description     = $fileScreen.Description
            Ensure          = $fileScreen.Ensure
            Active          = $fileScreen.Active
            IncludeGroup    = $fileScreen.IncludeGroup
            Template        = $fileScreen.Template
            MatchesTemplate = $fileScreen.MatchesTemplate
        }
    }
}