public ProfileActions( IGetCurrentProfileAction getCurrentProfileAction, IAddProfileAction addProfileAction) { _getCurrentProfileAction = getCurrentProfileAction; _addProfileAction = addProfileAction; }
private void InitializeFakeObjects() { _profileRepositoryStub = new Mock <IProfileRepository>(); _endPointConfigurationStub = new Mock <IEndPointConfiguration>(); _addProfileAction = new AddProfileAction( _profileRepositoryStub.Object, _endPointConfigurationStub.Object); }