public void TrainModelExtensionsClass_ToTrainMethod_ThrowsArgumentNullException_IfFirstParameterIsNull()
        {
            TrainModel testObject = null;
            Dictionary <string, Location>   testParam1 = new Dictionary <string, Location>();
            Dictionary <string, TrainClass> testParam2 = new Dictionary <string, TrainClass>();
            Dictionary <string, Note>       testParam3 = new Dictionary <string, Note>();
            DocumentOptions testParam4 = new DocumentOptions();

            _ = testObject.ToTrain(testParam1, testParam2, testParam3, testParam4);

            Assert.Fail();
        }
        public void TrainModelExtensionsClass_ToTrainMethod_ThrowsArgumentNullExceptionWithCorrectParamNameProperty_IfFirstParameterIsNull()
        {
            TrainModel testObject = null;
            Dictionary <string, Location>   testParam1 = new Dictionary <string, Location>();
            Dictionary <string, TrainClass> testParam2 = new Dictionary <string, TrainClass>();
            Dictionary <string, Note>       testParam3 = new Dictionary <string, Note>();
            DocumentOptions testParam4 = new DocumentOptions();

            try
            {
                _ = testObject.ToTrain(testParam1, testParam2, testParam3, testParam4);
                Assert.Fail();
            }
            catch (ArgumentNullException ex)
            {
                Assert.AreEqual("model", ex.ParamName);
            }
        }