Пример #1
0
 private void Given_FlirtoidSignatureLoader(string file)
 {
     fsl = mr.PartialMock<FlirtoidSignatureLoader>();
     fsl.Stub(f => f.CreateReader(null)).IgnoreArguments()
         .Return(new MemoryStream(Encoding.UTF8.GetBytes(file)));
 }
Пример #2
0
 public void Setup()
 {
     this.mr = new MockRepository();
     this.fsl = null;
 }