public ObservableDeploymentsClient(IGitHubClient client)
        {
            Ensure.ArgumentNotNull(client, "client");

            _client = client.Repository.Deployment;
            _connection = client.Connection;

            Status = new ObservableDeploymentStatusClient(client);
        }
        public ObservableDeploymentsClient(IGitHubClient client)
        {
            Ensure.ArgumentNotNull(client, "client");

            _client     = client.Repository.Deployment;
            _connection = client.Connection;

            Status = new ObservableDeploymentStatusClient(client);
        }
 public void SetupWithoutNonReactiveClient()
 {
     _client = new ObservableDeploymentStatusClient(_githubClient);
 }
 public void SetupWithNonReactiveClient()
 {
     var deploymentStatusClient = new DeploymentStatusClient(Substitute.For<IApiConnection>());
     _githubClient.Repository.Deployment.Status.Returns(deploymentStatusClient);
     _client = new ObservableDeploymentStatusClient(_githubClient);
 }
 public TheGetAllMethod()
 {
     _githubClient = new GitHubClient(Substitute.For<IConnection>());
     _client = new ObservableDeploymentStatusClient(_githubClient);
 }