public void TestSpell() { var client = new WowClient(TestConstants.TestRegion, TestConstants.Credentials, null, null); var spell = client.GetSpellAsync(8056).Result; Assert.IsNotNull(spell); Assert.IsNotNull(spell.Name); }
public void TestSpell() { var client = new WowClient(TestConstants.TestRegion, Properties.Settings.Default.PublicKey, TestConstants.TestLocale); var spell = client.GetSpellAsync(TestConstants.WowTestSpellId).Result; Assert.IsNotNull(spell); Assert.IsNotNull(spell.Name); Assert.IsNotNull(spell.Icon); Assert.IsNotNull(spell.Description); Assert.IsNotNull(spell.Range); Assert.IsNotNull(spell.CastTime); Assert.IsNotNull(spell.PowerCost); Assert.IsNotNull(spell.Cooldown); }