Example #1
0
 public CodeFileMapperTest()
 {
     log = new TestLog("10", null, null, DateTime.Today, null);
     vcsData
     .Log(Arg.Is <string>("10"))
     .Returns(log);
     mapper = new CodeFileMapper(vcsData);
 }
Example #2
0
 public VcsDataMapperTest()
 {
     data         = new InMemoryDataStore(Guid.NewGuid().ToString());
     settings     = new VcsDataMapper.MappingSettings();
     mapper       = new VcsDataMapper(data, vcsData, settings);
     commitMapper = Substitute.For <CommitMapper>((IVcsData)null);
     bugFixMapper = Substitute.For <BugFixMapper>(null, null);
     fileMapper   = Substitute.For <CodeFileMapper>((IVcsData)null);
 }