public void TestPets() { var client = new WowClient(TestConstants.TestRegion, Properties.Settings.Default.PublicKey, TestConstants.TestLocale); var pets = client.GetBattlePetsAsync().Result; Assert.IsNotNull(pets); Assert.IsNotNull(pets.BattlePets); Assert.IsTrue(pets.BattlePets.Count > 0); var petAbility = client.GetBattlePetAbilityAsync(TestConstants.BattlePetAbilityId).Result; Assert.IsNotNull(petAbility); var petSpecies = client.GetBattlePetSpeciesAsync(TestConstants.BattlePetSpeciesId).Result; Assert.IsNotNull(petSpecies); var petStats = client.GetBattlePetStatsAsync(TestConstants.BattlePetSpeciesId, TestConstants.BattlePetStatsLevel, TestConstants.BattlePetStatsBreedId, TestConstants.BattlePetStatsQualityId).Result; Assert.IsNotNull(petStats); }