public void GivenIHaveAnApprenticeshipChangesToReview() { Given(@"I Create Draft Cohort"); When(@"cohort_created message get publish"); var cohortCreated = _objectContainer.Resolve <CohortCreated>(); var apprenticeshipchange = _testMessages.ApprenticeshipUpdateCreated(cohortCreated.AccountId, cohortCreated.ProviderId ?? 10000254); _objectContainer.RegisterInstanceAs(apprenticeshipchange); }