public void FetchConfigs_ThrowsArgumentExceptionOnBadArgs() { try { RemoteConfigWebApiClient.FetchConfigs(null, null); } catch (ArgumentException ex) { Assert.That(ex.GetType() == typeof(ArgumentException)); } }
void FetchConfig(string envId) { RemoteConfigWebApiClient.fetchConfigsFinished += RemoteConfigWebApiClient_fetchConfigsFinished; RemoteConfigWebApiClient.FetchConfigs(Application.cloudProjectId, envId); }