public void DataShouldBeStdOutAndStdErrIfStdErrExists()
		{
			ProcessResult processResult = new ProcessResult("stdout", "error", 5, false);
			ProcessTaskResult result = new ProcessTaskResult(processResult);
			Assert.AreEqual(string.Format(System.Globalization.CultureInfo.CurrentCulture,"stdout{0}error", Environment.NewLine), result.Data);
		}
		public void DataShouldBeStdOutIfNoStdErr()
		{
			ProcessResult processResult = new ProcessResult("stdout", null, 5, false);
			ProcessTaskResult result = new ProcessTaskResult(processResult);
			Assert.AreEqual("stdout", result.Data);
		}
		public void FailedIfProcessResultFailed()
		{
			ProcessTaskResult result = new ProcessTaskResult(ProcessResultFixture.CreateNonZeroExitCodeResult());
			Assert.IsFalse(result.CheckIfSuccess());
		}
		public void FailedIfProcessResultTimedout()
		{
			ProcessTaskResult result = new ProcessTaskResult(ProcessResultFixture.CreateTimedOutResult());
			Assert.IsFalse(result.CheckIfSuccess());
		}
		public void CheckIfSuccessIfProcessResultSucceeded()
		{
			ProcessTaskResult result = new ProcessTaskResult(ProcessResultFixture.CreateSuccessfulResult());
			Assert.IsTrue(result.CheckIfSuccess());
		}