public void ProcessJob_CallsCustomScriptHandlerExecutePreConversion() { _customScriptHandler.ExecutePostConversion(_job).Returns(_actionResult); var result = _customScriptAction.ProcessJob(_job); _customScriptHandler.Received(1).ExecutePostConversion(_job); Assert.AreSame(_actionResult, result); }
public ActionResult ProcessJob(Job job) { return(_customScriptHandler.ExecutePostConversion(job)); }