Skip to content

Instantly share code, notes, and snippets.

@StacyGay
Created April 11, 2021 20:11
Show Gist options
  • Save StacyGay/ef450b17bb4570b52848ce642f647169 to your computer and use it in GitHub Desktop.
Save StacyGay/ef450b17bb4570b52848ce642f647169 to your computer and use it in GitHub Desktop.
Trinity of test - Example 2
using Ploeh.AutoFixture;
using Ploeh.AutoFixture.AutoMoq;
using Ploeh.AutoFixture.Xunit;
namespace MyTestingSuite
{
public class AutoMoqDataAttribute : AutoDataAttribute
{
public AutoMoqDataAttribute()
: base(new Fixture().Customize(new AutoMoqCustomization()))
{ }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment