public ReportJobAgent(IReportExecutorFactory reportExecutorFactory, IStartJobCommand startJobCommand, IFinaliseJobCommand finaliseJobCommand, IFailJobCommand failJobCommand)
 {
     _reportExecutorFactory = reportExecutorFactory;
     _startJobCommand       = startJobCommand;
     _finaliseJobCommand    = finaliseJobCommand;
     _failJobCommand        = failJobCommand;
 }
        public void ReportJobAgentTest_SetUp()
        {
            _reportExecutorFactory = Substitute.For <IReportExecutorFactory>();
            _startJobCommand       = Substitute.For <IStartJobCommand>();
            _finaliseJobCommand    = Substitute.For <IFinaliseJobCommand>();
            _failJobCommand        = Substitute.For <IFailJobCommand>();

            _reportJobAgent = new ReportJobAgent(_reportExecutorFactory, _startJobCommand, _finaliseJobCommand, _failJobCommand);
        }