Skip to content

An AutoFakerBinder for interfaces and abstract methods using Moq

License

Notifications You must be signed in to change notification settings

soenneker/soenneker.utils.autobogus.moq

Repository files navigation

Soenneker.Utils.AutoBogus.Moq

An AutoFakerBinder for interfaces and abstract objects using Moq

Installation

dotnet add package Soenneker.Utils.AutoBogus.Moq

Usage

var faker = new AutoFaker
{
    Binder = new MoqAutoFakerBinder()
};