private void InitializeFakeObjects() { _clientRepositoryStub = new Mock <IClientRepository>(); _managerEventSourceStub = new Mock <IManagerEventSource>(); _removeClientAction = new RemoveClientAction( _clientRepositoryStub.Object, _managerEventSourceStub.Object); }
public ClientActions( IGetClientsAction getClientsAction, IGetClientAction getClientAction, IRemoveClientAction removeClientAction, IUpdateClientAction updateClientAction, IRegisterClientAction registerClientAction) { _getClientsAction = getClientsAction; _getClientAction = getClientAction; _removeClientAction = removeClientAction; _updateClientAction = updateClientAction; _registerClientAction = registerClientAction; }