public void LockTest() { Loadout load = new Loadout(); Rune[] runes = new Rune[6]; load.AddRune(runes[0] = TestData.Rune1()); load.AddRune(runes[1] = TestData.Rune2()); load.AddRune(runes[2] = TestData.Rune3()); load.AddRune(runes[3] = TestData.Rune4()); load.AddRune(runes[4] = TestData.Rune5()); load.AddRune(runes[5] = TestData.Rune6()); load.Lock(); foreach (var r in runes) { Assert.IsTrue(r.Locked); } }