AutoFixture schlägt bei CreateAnonymous MVC Controller fehl

Der Code:

IFixture fixture = new Fixture().Customize(new AutoMoqCustomization());
fixture.Customize<ViewDataDictionary>(c => c.Without(x => x.ModelMetadata));
var target = fixture.CreateAnonymous<MyController>();

die Ausnahme:

System.Reflection.TargetInvocationException: System.Reflection.TargetInvocationException: Das Ziel eines Aufrufs hat eine Ausnahme ausgelöst. ---> System.NotImplementedException: Die Methode oder Operation ist nicht implementiert.

MyController() Nimmt 3 Parameter.

Ich habe versucht, das in der Antwort beschriebene UpdateHier aber es würde nicht funktionieren.

Antworten auf die Frage(1)

Ihre Antwort auf die Frage