public void CallsIntoClient() { var github = Substitute.For <IGitHubClient>(); var client = new ObservableEnterpriseAdminStatsClient(github); client.GetStatisticsUsers(); github.Enterprise.AdminStats.Received(1).GetStatisticsUsers(); }
public ObservableEnterpriseClient(IGitHubClient client) { Ensure.ArgumentNotNull(client, "client"); AdminStats = new ObservableEnterpriseAdminStatsClient(client); License = new ObservableEnterpriseLicenseClient(client); Organization = new ObservableEnterpriseOrganizationClient(client); }
public ObservableEnterpriseClient(IGitHubClient client) { Ensure.ArgumentNotNull(client, "client"); AdminStats = new ObservableEnterpriseAdminStatsClient(client); License = new ObservableEnterpriseLicenseClient(client); Organization = new ObservableEnterpriseOrganizationClient(client); SearchIndexing = new ObservableEnterpriseSearchIndexingClient(client); }
public ObservableEnterpriseClient(IGitHubClient client) { Ensure.ArgumentNotNull(client, nameof(client)); AdminStats = new ObservableEnterpriseAdminStatsClient(client); Ldap = new ObservableEnterpriseLdapClient(client); License = new ObservableEnterpriseLicenseClient(client); Organization = new ObservableEnterpriseOrganizationClient(client); SearchIndexing = new ObservableEnterpriseSearchIndexingClient(client); PreReceiveEnvironment = new ObservableEnterprisePreReceiveEnvironmentsClient(client); }
public ObservableEnterpriseClient(IGitHubClient client) { Ensure.ArgumentNotNull(client, "client"); AdminStats = new ObservableEnterpriseAdminStatsClient(client); }
public ObservableEnterpriseClient(IGitHubClient client) { Ensure.ArgumentNotNull(client, "client"); AdminStats = new ObservableEnterpriseAdminStatsClient(client); }