public void BatteryShoudThrowExceptionIfHourseTalkIsSetToNegativeValue() { Battery battery = new Battery("something", 1, 1); Assert.ThrowsException <ArgumentException>(() => battery.AddTalkTime(-1)); }
public void BatteryShoudThrowExceptionIfHourseTalkIsSetToNegativeValue() { Battery battery = new Battery("something", 1, 1); Assert.ThrowsException <ArgumentException>(() => battery.AddTalkTime(-1)); }