public void InitializeContext()
 {
     this.command = new XmlNodeExistsCondition
         {
             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.condition = new XmlNodeExistsCondition
                    {
                        Solution = this.solution,
                        UriReferenceService = this.uriService.Object,
                        XmlProcessor = this.xmlProcessor.Object,
                        CurrentElement = this.currentElement.Object,
                        SourcePath = "foo.xml",
                        XmlPath = "bar",
                    };
            }