public void WhenIlrFirstSubmittedOnSpecificDate(string specSumissionDate, Table ilrDetails)
        {
            IlrTableParser.ParseIlrTableIntoContext(SubmissionsContext, ilrDetails);

            DateTime firstSubmissionDate;

            if (!DateTime.TryParse(specSumissionDate, out firstSubmissionDate))
            {
                throw new ArgumentException($"{specSumissionDate} is not a valid date");
            }
            SubmissionsContext.FirstSubmissionDate = firstSubmissionDate;
        }
 [When("the providers submit the following ILR files:")] //Duplicate?
 public void WhenMultipleIlrFilesAreSubmitted(Table ilrDetails)
 {
     IlrTableParser.ParseIlrTableIntoContext(SubmissionsContext, ilrDetails);
 }
 [When(@"an ILR file is submitted on (.*) with the following data:")] // what is the purpose of the dates?
 public void WhenIlrSubmittedOnSpecificDate(string specSumissionDate, Table ilrDetails)
 {
     IlrTableParser.ParseIlrTableIntoContext(SubmissionsContext, ilrDetails);
 }
Beispiel #4
0
 public void GivenFollowingLearningHasBeenRecordedForPreviousSubmission(Table table)
 {
     IlrTableParser.ParseIlrTableIntoContext(SubmissionContext.HistoricalLearningDetails, table);
 }