Exemple #1
0
 protected override void Arrange()
 {
     base.Arrange();
     base.Act();
     FileInformation1.Stub(x => x.Path).Return(source);
     FileInformation1.Stub(x => x.Name).Return(name);
     PathImpl.Stub(x => x.Combine(destinationPath, name)).Return(FQPath);
     FileImpl.Stub(x => x.MoveFile(source, FQPath));
 }
Exemple #2
0
 protected override void Arrange()
 {
     base.Arrange();
     base.Act();
     FileImpl.Stub(x => x.ReadAllLines(Path)).Return(Expected);
 }