public void CollectHealthPotion() { gameModelMock.Object.MyPlayer.Health = 50; int entryHealth = 50; Powerups healthPotion = gameModelMock.Object.Powerups[0]; gameLogicTest.CollectPowerup(healthPotion); Assert.That(gameModelMock.Object.MyPlayer.Health, Is.EqualTo(entryHealth + healthPotion.ModifyRate)); }