public async Task GetApisRawTest() { var client = new GoogleDiscoveryClient(); var result = await client.GetApisRaw("adexchangebuyer"); Assert.AreNotEqual(result, ""); }
public async Task GetApisWithNameTest() { var client = new GoogleDiscoveryClient(); var result = await client.GetApis("adexchangebuyer"); Assert.IsNotNull(result); Assert.IsInstanceOfType(result, typeof(ApisResult)); Assert.IsInstanceOfType(result.Apis, typeof(List<Api>)); Assert.IsNotNull(result.Apis[0]); }
public async Task GetApisWithNameTest() { var client = new GoogleDiscoveryClient(); var result = await client.GetApis("adexchangebuyer"); Assert.IsNotNull(result); Assert.IsInstanceOfType(result, typeof(ApisResult)); Assert.IsInstanceOfType(result.Apis, typeof(List <Api>)); Assert.IsNotNull(result.Apis[0]); }