AK.F1.Timing.Messages.Driver.DriverMessageBaseTest.ctor_throws_if_driver_id_is_not_positive C# (CSharp) Method

ctor_throws_if_driver_id_is_not_positive() private method

private ctor_throws_if_driver_id_is_not_positive ( ) : void
return void
        public void ctor_throws_if_driver_id_is_not_positive()
        {
            Assert.Throws<ArgumentOutOfRangeException>(() => { new DriverMessageStub(0); });
            Assert.Throws<ArgumentOutOfRangeException>(() => { new DriverMessageStub(-1); });
        }