private void SetupWithNonReactiveClient() { var collaboratorsClient = new RepoCollaboratorsClient(Substitute.For <IApiConnection>()); _githubClient.Repository.Collaborator.Returns(collaboratorsClient); _client = new ObservableRepoCollaboratorsClient(_githubClient); }
public TheGetAllMethod() { _githubClient = Substitute.For <IGitHubClient>(); _client = new ObservableRepoCollaboratorsClient(_githubClient); }
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); }
public TheGetAllMethod() { _githubClient = Substitute.For<IGitHubClient>(); _client = new ObservableRepoCollaboratorsClient(_githubClient); }