Test/private/mockdatabase.ps1

function Mock_DatabaseRoot([switch]$NotReset){

    $folderName = "test_database_path"
    # Check if the database path exists
    if (-Not (Test-Path -Path $folderName -PathType Container)) {
        New-Item -Path $folderName -ItemType Directory -Force | Out-Null
    }

    $fullpath = $folderName | Convert-path

    MockCallToString "Invoke-ProjectHelperGetDatabaseStorePath" -OutString $fullpath

    #check $NotReset
    if(-Not $NotReset){
        Reset-DatabaseStore
    }
}