private void Given_FlirtoidSignatureLoader(string file) { fsl = mr.PartialMock<FlirtoidSignatureLoader>(); fsl.Stub(f => f.CreateReader(null)).IgnoreArguments() .Return(new MemoryStream(Encoding.UTF8.GetBytes(file))); }
public void Setup() { this.mr = new MockRepository(); this.fsl = null; }