I have next Fixture configuration code:
private static IFixture CreateFixture()
{
var fixture = new Fixture();
fixture.Behaviors.OfType<ThrowingRecursionBehavior>().ToList()
.ForEach(b => fixture.Behaviors.Remove(b));
fixture.Behaviors.Add(new OmitOnRecursionBehavior());
BLLExtensions.FixtureExtensions.ApplyProjectCustomizations(fixture);
WebExtensions.FixtureExtensions.ApplyProjectCustomizations(fixture);
return fixture;
}
The problem causes here:
BLLExtensions.FixtureExtensions.ApplyProjectCustomizations(fixture);
WebExtensions.FixtureExtensions.ApplyProjectCustomizations(fixture);
Both methods requires IFixture and just rewrites each other. I want to know, is there any possible solution of this problem, for example CompositeCustomization method, but for Fixture entity
BLLExtensionsyours? So far when I've tried googling what they are all I find is this post. If they are yours then it would depend exactly what they are doing.