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