public void ProcessJob_CallsCustomScriptHandlerExecutePreConversion()
        {
            _customScriptHandler.ExecutePostConversion(_job).Returns(_actionResult);

            var result = _customScriptAction.ProcessJob(_job);

            _customScriptHandler.Received(1).ExecutePostConversion(_job);
            Assert.AreSame(_actionResult, result);
        }
示例#2
0
 public ActionResult ProcessJob(Job job)
 {
     return(_customScriptHandler.ExecutePostConversion(job));
 }