public void GetLootChestByTypeDescriptionTest(string id) { if (id is null) { Assert.ThrowsException <ArgumentNullException>(() => { _ = _lootChestDataDocument.GetLootChestByTypeDescription(id !); }); return; } else if (id == "asdf") { Assert.ThrowsException <KeyNotFoundException>(() => { _ = _lootChestDataDocument.GetLootChestByTypeDescription(id); }); return; } EpicProgChestAsserts(_lootChestDataDocument.GetLootChestByTypeDescription(id)); }