public void SetUp() { _ship = Substitute.For<IShip>(); _ship.RequestEnergy(Arg.Any<float>()).Returns(x => x[0]); _shield = new Shield(_ship, shieldStartLevel, shieldRechargeRate); }