Beispiel #1
0
 public UpdateStateCommandHandler(IStateRepository stateRepository, IStateGetterService stateGetterService,
                                  IStateVerificationService stateVerificationService)
 {
     _stateRepository          = stateRepository;
     _stateGetterService       = stateGetterService;
     _stateVerificationService = stateVerificationService;
 }
Beispiel #2
0
 public StateVerificationServiceTest()
 {
     _stateRepositoryMock      = new Mock <IStateRepository>();
     _stateVerificationService = new StateVerificationService(_stateRepositoryMock.Object);
 }
Beispiel #3
0
 public CreateStateCommandHandler(IStateRepository stateRepository, IStateVerificationService stateVerificationService, IMapper mapper)
 {
     _stateRepository          = stateRepository;
     _stateVerificationService = stateVerificationService;
     _mapper = mapper;
 }