public void PickItemsPage_GetItemToDisplay_Null_Default_Should_Pass() { // Arrange // Act var result = page.GetItemToDisplay(null); // Reset // Assert Assert.NotNull(result); }
public void PickItemsPage_GetItemToDisplay_Default_Should_Pass() { // Arrange ItemModel item = new ItemModel { Name = "PrimaryHand01", Description = "May the force be with you!", ImageURI = "item_sword.png", Range = 5, Damage = 10, Value = 9, Location = ItemLocationEnum.PrimaryHand, Attribute = AttributeEnum.Attack }; // Act page.GetItemToDisplay(item); // Reset // Assert Assert.IsTrue(true); // Got to here, so it happened... }