public DummyValueResolverTests() { this.fakeObjectCreator = A.Fake <IFakeObjectCreator>(); A.CallTo(() => this.fakeObjectCreator.CreateFakeWithoutLoopDetection( A <Type> ._, A <IProxyOptions> ._, A <IDummyValueResolver> ._, A <LoopDetectingResolutionContext> ._)) .ReturnsLazily(( Type type, IProxyOptions proxyOptions, IDummyValueResolver resolver, LoopDetectingResolutionContext resolutionContext) => CreationResult.FailedToCreateDummy(type, string.Empty)); }
public DummyValueResolverTests() { this.fakeObjectCreator = A.Fake <IFakeObjectCreator>(); A.CallTo(() => this.fakeObjectCreator.CreateFake(A <Type> ._, A <IProxyOptions> ._, A <DummyCreationSession> ._, A <IDummyValueResolver> ._)) .ReturnsLazily((Type type, IProxyOptions proxyOptions, DummyCreationSession session, IDummyValueResolver resolver) => CreationResult.FailedToCreateDummy(type, string.Empty)); }