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

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