public void IsConditionFulfilledRemoveHasItemShouldReturnFalse() { var c = new InventoryCondition("Subtract", "item"); controllerMock.Setup(s => s.PlayerHasItem(It.IsAny <string>())) .Returns(false); Assert.False(c.IsConditionFulfilled(controllerMock.Object, null)); }
public void IsConditionFulfilledAddShouldReturnTrue() { var c = new InventoryCondition("add", string.Empty); Assert.True(c.IsConditionFulfilled(null, null)); }