Example #1
0
 public void SetUp()
 {
     _gitClientService       = MockRepository.GenerateMock <IGitClientService>();
     _gitService             = MockRepository.GenerateMock <IGitService>();
     _userInfoService        = MockRepository.GenerateMock <IUserInformationService>();
     _messageBoxService      = MockRepository.GenerateMock <IMessageBoxService>();
     _treeStructureGenerator = MockRepository.GenerateMock <ITreeStructureGenerator>();
     _eventAggregatorService = new EventAggregatorService();
     _commandsService        = MockRepository.GenerateMock <ICommandsService>();
     _vsTools = MockRepository.GenerateMock <IVsTools>();
 }
 public void SetUp()
 {
     _gitClientService         = MockRepository.GenerateMock <IGitClientService>();
     _pullRequestDiffViewModel = MockRepository.GenerateMock <IPullRequestDiffViewModel>();
     _gitService             = MockRepository.GenerateMock <IGitService>();
     _userInfoService        = MockRepository.GenerateMock <IUserInformationService>();
     _messageBoxService      = MockRepository.GenerateMock <IMessageBoxService>();
     _eventAggregatorService = new EventAggregatorService();
     _commandsService        = MockRepository.GenerateMock <ICommandsService>();
     _vsTools = MockRepository.GenerateMock <IVsTools>();
 }
 public void SetUp()
 {
     _loginDialogView              = MockRepository.GenerateMock <ILoginDialogView>();
     _cloneRepositoriesDialogView  = MockRepository.GenerateMock <ICloneRepositoriesDialogView>();
     _createRepositoriesDialogView = MockRepository.GenerateMock <ICreateRepositoriesDialogView>();
     _eventAggregatorService       = new EventAggregatorService();
     _userInformationService       = MockRepository.GenerateMock <IUserInformationService>();
     _gitClientService             = MockRepository.GenerateMock <IGitClientService>();
     _vsTools = MockRepository.GenerateMock <IVsTools>();
     _teamExplorerCommandsService = MockRepository.GenerateMock <ITeamExplorerCommandsService>();
     _gitService = MockRepository.GenerateMock <IGitService>();
 }