示例#1
0
        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();
        }
示例#2
0
 public void SetUp()
 {
     _modelFactory = new ModelFactory(new ObjectDifferenceManager(), () => FakeHttpMessageBuilder.CreateFakeHttpMessage());
     _fixture      = new Fixture();
 }