public async Task should_return_null_if_not_exists() { var system = new WowheadProvider(); var result = await system.GetSetById(5844); Assert.IsNull(result); }
public async Task should_get_by_set_id() { var system = new WowheadProvider(); var result = await system.GetSetById(392); Assert.IsNotNull(result); Assert.AreEqual(12, result.Items.Count()); Assert.IsTrue(result.Items.All(item => item.Id != 0)); }