コード例 #1
0
        public EnsureTestRunnerEnabledTest()
        {
            this.settings = Substitute.For <ConfigSettings>();
            this.settings.RequireJSSettingName.Returns(RequireJSSettingName);
            this.settings.BootstrapModulePath.Returns(BootstrapModulePath);

            this.wrapper = Substitute.For <SitecoreWrapper>(this.settings);

            this.processor = new EnsureTestRunnerEnabled(this.settings, this.wrapper);
        }
コード例 #2
0
 public EnsureTestRunnerEnabled(ConfigSettings settings, SitecoreWrapper wrapper)
 {
     this.settings = settings;
     this.wrapper  = wrapper;
 }