#nullable enable

namespace MBN_STOCK_WEBVIEW.Infrastructure.Tests;

internal sealed class DenyAllDatabaseMutationAuthorization
    : IDatabaseMutationAuthorization
{
    internal List<DatabaseMutationAuthorizationRequest> Requests { get; } = [];

    public bool IsAuthorized(DatabaseMutationAuthorizationRequest request)
    {
        Requests.Add(request);
        return false;
    }
}
