public void TrainClassExtensionsClass_ToYamlTrainClassModelMethod_ReturnsObjectWithCorrectTableCodeProperty_IfParameterIsNotNull()
        {
            TrainClass testParam = GetTestObject();

            TrainClassModel testOutput = testParam.ToYamlTrainClassModel();

            Assert.AreEqual(testParam.TableCode, testOutput.TableCode);
        }
        public void TrainClassExtensionsClass_ToYamlTrainClassModelMethod_ThrowsNullReferenceException_IfParameterIsNull()
        {
            TrainClass testParam = null;

            _ = testParam.ToYamlTrainClassModel();

            Assert.Fail();
        }