コード例 #1
0
            private void SetupWithNonReactiveClient()
            {
                var collaboratorsClient = new RepoCollaboratorsClient(Substitute.For <IApiConnection>());

                _githubClient.Repository.Collaborator.Returns(collaboratorsClient);
                _client = new ObservableRepoCollaboratorsClient(_githubClient);
            }
コード例 #2
0
 public TheGetAllMethod()
 {
     _githubClient = Substitute.For <IGitHubClient>();
     _client       = new ObservableRepoCollaboratorsClient(_githubClient);
 }
コード例 #3
0
 private void SetupWithoutNonReactiveClient()
 {
     _client = new ObservableRepoCollaboratorsClient(_githubClient);
 }
コード例 #4
0
 private void SetupWithNonReactiveClient()
 {
     var deploymentsClient = new RepoCollaboratorsClient(Substitute.For<IApiConnection>());
     _githubClient.Repository.Collaborator.Returns(deploymentsClient);
     _client = new ObservableRepoCollaboratorsClient(_githubClient);
 }
コード例 #5
0
 private void SetupWithoutNonReactiveClient()
 {
     _client = new ObservableRepoCollaboratorsClient(_githubClient);
 }
コード例 #6
0
 public TheGetAllMethod()
 {
     _githubClient = Substitute.For<IGitHubClient>();
     _client = new ObservableRepoCollaboratorsClient(_githubClient);
 }