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