public void SetUp() { fileSystem = Substitute.For<FileSystem>((Config)null); fileSystem.ReadXmlFile().Returns(Resource.SimpleSource); timeContext = Substitute.For<TimeContext>(); sut = new XmlDataModificator(timeContext, fileSystem); }
public void SetUp() { fileSystem = Substitute.For<FileSystem>((Config)null); fileSystem.ReadXmlFile().Returns(Resource.SimpleSource); sut = new XmlDataRepresentator(fileSystem); }