public void Setup() { _artifactDao = Substitute.For <IArtifactDao>(); Func <HttpRequestMessage> fakeFunc = () => FakeHttpMessageBuilder.CreateFakeHttpMessage(); _modelFactory = new ModelFactory(new ObjectDifferenceManager(), fakeFunc); _artifactRepo = new ArtifactRepository(_artifactDao, _modelFactory); _fixture = new Fixture(); }
public void SetUp() { _modelFactory = new ModelFactory(new ObjectDifferenceManager(), () => FakeHttpMessageBuilder.CreateFakeHttpMessage()); _fixture = new Fixture(); }