2021-11-09 19:40:20 +00:00
|
|
|
using AutoFixture;
|
|
|
|
|
using AutoFixture.AutoMoq;
|
|
|
|
|
using Umbraco.Cms.Tests.UnitTests.AutoFixture.Customizations;
|
|
|
|
|
|
2022-06-21 08:09:38 +02:00
|
|
|
namespace Umbraco.Cms.Tests.UnitTests.AutoFixture;
|
|
|
|
|
|
|
|
|
|
internal static class UmbracoAutoMoqFixtureFactory
|
2021-11-09 19:40:20 +00:00
|
|
|
{
|
2022-06-21 08:09:38 +02:00
|
|
|
internal static IFixture CreateDefaultFixture() =>
|
|
|
|
|
new Fixture()
|
|
|
|
|
.Customize(new AutoMoqCustomization { ConfigureMembers = true })
|
|
|
|
|
.Customize(new OmitRecursionCustomization())
|
|
|
|
|
.Customize(new UmbracoCustomizations());
|
2021-11-09 19:40:20 +00:00
|
|
|
}
|