public void SetUp() { _task1 = TaskFactory(); _task2 = TaskFactory(); _result = new [] { _task1, _task2 }; _sut = new WithHandlers(new[] { HandlerFactory(_task1), HandlerFactory(_task2), }); }
public void SetUp() { _command = CommandFactory(); _commandArray = new[] { CommandFactory(), CommandFactory() }; var commands = new List <SqlNonQueryCommand>(); commands.Add(_command); commands.AddRange(_commandArray); _result = commands.ToArray(); _sut = new WithHandlers(new [] { HandlerFactory(_command), HandlerFactory(_commandArray), }); }
public void SetUp() { _command = CommandFactory(); _commandArray = new[] { CommandFactory(), CommandFactory() }; var commands = new List<SqlNonQueryCommand>(); commands.Add(_command); commands.AddRange(_commandArray); _result = commands.ToArray(); _sut = new WithHandlers(new [] { HandlerFactory(_command), HandlerFactory(_commandArray), }); }
public void SetUp() { _sut = new WithHandlers(); }