public void before() { logger = new Mock <ILogging> (); trigger = new Mock <ICommandTrigger> (); processors = new List <CommandMappingList.Processor>(); subject = new CommandMappingList(trigger.Object, processors, logger.Object); mapping1 = new CommandMapping(typeof(NullCommand)); mapping2 = new CommandMapping(typeof(NullCommand2)); mapping3 = new CommandMapping(typeof(NullCommand3)); }
public void before() { logger = new Mock<ILogger> (); trigger = new Mock<ICommandTrigger> (); processors = new List<CommandMappingList.Processor>(); subject = new CommandMappingList(trigger.Object, processors, logger.Object); mapping1 = new CommandMapping(typeof(NullCommand)); mapping2 = new CommandMapping(typeof(NullCommand2)); mapping3 = new CommandMapping(typeof(NullCommand3)); }