Exemplo n.º 1
0
            private void SetupWithNonReactiveClient()
            {
                var collaboratorsClient = new RepoCollaboratorsClient(Substitute.For <IApiConnection>());

                _githubClient.Repository.Collaborator.Returns(collaboratorsClient);
                _client = new ObservableRepoCollaboratorsClient(_githubClient);
            }
Exemplo n.º 2
0
 public TheGetAllMethod()
 {
     _githubClient = Substitute.For <IGitHubClient>();
     _client       = new ObservableRepoCollaboratorsClient(_githubClient);
 }
Exemplo n.º 3
0
 private void SetupWithoutNonReactiveClient()
 {
     _client = new ObservableRepoCollaboratorsClient(_githubClient);
 }
 private void SetupWithNonReactiveClient()
 {
     var deploymentsClient = new RepoCollaboratorsClient(Substitute.For<IApiConnection>());
     _githubClient.Repository.Collaborator.Returns(deploymentsClient);
     _client = new ObservableRepoCollaboratorsClient(_githubClient);
 }
 private void SetupWithoutNonReactiveClient()
 {
     _client = new ObservableRepoCollaboratorsClient(_githubClient);
 }
 public TheGetAllMethod()
 {
     _githubClient = Substitute.For<IGitHubClient>();
     _client = new ObservableRepoCollaboratorsClient(_githubClient);
 }