Пример #1
0
		public WebConsoleResponse(string title, bool isAutomatedTool, HeadingService headingService, Action<IProgressStatus> processAction)
		{
			Assert.ArgumentNotNullOrEmpty(title, "title");
			Assert.ArgumentNotNull(processAction, "processAction");
			Assert.ArgumentNotNull(headingService, "headingService");

			_title = title;
			_processAction = processAction;
			_isAutomatedTool = isAutomatedTool;
			_headingService = headingService;
		}
Пример #2
0
 protected ControlPanelConsole(bool isAutomatedTool, HeadingService headingService)
 {
     _isAutomatedTool = isAutomatedTool;
     _headingService = headingService;
 }
Пример #3
0
		public void ShouldReturnValidControlPanelHeading()
		{
			var service = new HeadingService();

			service.GetControlPanelHeadingHtml().Should().NotBeNullOrWhiteSpace();
		}