public void SetUp() { _command = A.Fake <ICommand>(); _commandDispatcher = A.Fake <ICommandDispatcher>(); _validationProcessor = A.Fake <IValidationProcessor>(); _validatedCommandDispatcher = new ValidatedCommandDispatcher(_commandDispatcher, _validationProcessor); }
public ClrServiceEntryFactory(CPlatformContainer serviceProvider, IServiceIdGenerator serviceIdGenerator, ITypeConvertibleService typeConvertibleService, IValidationProcessor validationProcessor) { _serviceProvider = serviceProvider; _serviceIdGenerator = serviceIdGenerator; _typeConvertibleService = typeConvertibleService; _validationProcessor = validationProcessor; }
public void SetUp() { _command = A.Fake<ICommand>(); _handler = A.Fake<ICommandHandler<ICommand>>(); _validationProcessor = A.Fake<IValidationProcessor>(); }
public ValidationService(IValidationProcessor validationProcessor) { _validationProcessor = validationProcessor; }
public CommandExecutor(Func <Type, object> resolver, IValidationProcessor validationProcessor) { _resolver = resolver; _validationProcessor = validationProcessor; }
public ValidatedCommandDispatcher(ICommandDispatcher commandDispatcher, IValidationProcessor validationProcessor) { _commandDispatcher = commandDispatcher; _validationProcessor = validationProcessor; }
public void SetUp() { _command = A.Fake <ICommand>(); _handler = A.Fake <ICommandHandler <ICommand> >(); _validationProcessor = A.Fake <IValidationProcessor>(); }
public void SetUp() { _command = A.Fake<ICommand>(); _commandDispatcher = A.Fake<ICommandDispatcher>(); _validationProcessor = A.Fake<IValidationProcessor>(); _validatedCommandDispatcher = new ValidatedCommandDispatcher(_commandDispatcher, _validationProcessor); }