public async Task BasePlayerModel_DropAllItems_Default_Should_Pass() { await ItemIndexViewModel.Instance.CreateAsync(new ItemModel { Attribute = AttributeEnum.Attack, Value = 1, Id = "head" }); await ItemIndexViewModel.Instance.CreateAsync(new ItemModel { Attribute = AttributeEnum.Attack, Value = 20, Id = "necklass" }); var item = ItemIndexViewModel.Instance.Dataset.FirstOrDefault(); // Arrange var data = new BasePlayerModel <CharacterModel> { Head = item.Id, Necklass = item.Id, PrimaryHand = item.Id, OffHand = item.Id, RightFinger = item.Id, LeftFinger = item.Id, Feet = item.Id, }; // Act var result = data.DropAllItems(); // Reset // Assert Assert.IsNotNull(result); }