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