param
(
    [Parameter(Mandatory = $true)]
    [String]
    $ConfigurationName
)

Configuration $ConfigurationName
{
    param
    (
        [Parameter(Mandatory = $true)]
        [ValidateNotNullOrEmpty()]
        [System.String]
        $DestinationPath,

        [Parameter(Mandatory = $true)]
        [ValidateNotNullOrEmpty()]
        [System.String]
        $SourcePath
    )

    xFileUpload UploadFileOrFolder
    {
        DestinationPath = $DestinationPath
        SourcePath = $SourcePath
    }
}

param
(
    [Parameter(Mandatory = $true)]
    [String]
    $ConfigurationName
)

Configuration $ConfigurationName
{
    param
    (
        [Parameter(Mandatory = $true)]
        [ValidateNotNullOrEmpty()]
        [System.String]
        $DestinationPath,

        [Parameter(Mandatory = $true)]
        [ValidateNotNullOrEmpty()]
        [System.String]
        $SourcePath
    )

    Import-DscResource -ModuleName 'xPSDesiredStateConfiguration'

    xFileUpload UploadFileOrFolder
    {
        DestinationPath = $DestinationPath
        SourcePath = $SourcePath
    }
}

Change the integration tests to import the module
Change the integration tests to import the module
