public void InitializeContext() { this.provider = new XmlNodeValueProvider { Solution = Mock.Of <ISolution>(), UriReferenceService = Mock.Of <IUriReferenceService>(), XmlProcessor = this.xmlProcessor.Object, CurrentElement = Mock.Of <IProductElement>(), }; }
public void InitializeContext() { this.currentElement.Setup(ce => ce.InstanceName).Returns("foo"); this.provider = new XmlNodeValueProvider { Solution = this.solution, UriReferenceService = this.uriService.Object, XmlProcessor = this.xmlProcessor.Object, CurrentElement = this.currentElement.Object, SourcePath = "foo.xml", XmlPath = "bar", }; }