public void TrainTimeExtensionsClass_ToTrainTimeModelMethod_ThrowsArgumentNullException_IfParameterIsNull()
        {
            TrainTime testObject = null;

            _ = testObject.ToTrainTimeModel();

            Assert.Fail();
        }
        public void TrainTimeExtensionsClass_ToTrainTimeModelMethod_ThrowsArgumentNullExceptionWithCorrectParamNameProperty_IfParameterIsNull()
        {
            TrainTime testObject = null;

            try
            {
                _ = testObject.ToTrainTimeModel();
                Assert.Fail();
            }
            catch (ArgumentNullException ex)
            {
                Assert.AreEqual("time", ex.ParamName);
            }
        }