public void SaveTrainingTestHappyPath() { //Hard coded inputs and also expected message content. Please do change it manually if it is of handful tests. //In case of automation, write code to read the current training id and also duration of training days from dates. string trainingName = "VB"; DateTime startDate = new DateTime(2019, 01, 01); DateTime endDate = new DateTime(2019, 02, 01); var result = new TrainingController().SavingTrainingRecord(trainingName, startDate, endDate); Assert.IsNotNull(result, "Unexpected return code"); Assert.IsTrue(result.ToString().ToLower() == "training has been confirmed for a duration of 32 days. training id is 1"); }