test/mocks/MockModuleB/src/Get-AFunction.ps1

function Get-AFunction {
    [CmdletBinding()]
    param (
        
    )
    
    Out-String -InputObject $("Hello, from Get-AFunction!")
}