public HowApprenticeshipWillBeDeliveredSteps(TestContext context) { _context = context; _apprentice = _fixture.Create <Apprentice>(); _apprenticeship = _fixture.Create <Apprenticeship>(); _apprentice.AddApprenticeship(_apprenticeship); }
public GetApprenticeshipsSteps(TestContext context) { _context = context; _apprentice = _fixture.Build <Apprentice>() .Create(); _apprentice.AddApprenticeship(_fixture.Create <Apprenticeship>()); }
public ConfirmApprenticeshipSteps(TestContext context) { _context = context; _apprentice = _fixture.Create <Apprentice>(); _apprenticeship = _fixture.Create <Apprenticeship>(); _apprentice.AddApprenticeship(_apprenticeship); }
public ConfirmRolesAndResponsibilitiesSteps(TestContext context) { _context = context; _apprentice = _fixture.Create <Apprentice>(); _apprenticeship = _fixture.Create <Apprenticeship>(); _apprentice.AddApprenticeship(_apprenticeship); }
public ConfirmTrainingProviderandOrEmployerSteps(TestContext context) { _context = context; _apprentice = _fixture.Create <Apprentice>(); _apprenticeship = _fixture.Create <Apprenticeship>(); _apprentice.AddApprenticeship(_apprenticeship); }
public async Task GivenTheApprenticeshipExistsAndItSAssociatedWithThisApprentice() { _apprentice.AddApprenticeship(_apprenticeship); _context.DbContext.Apprentices.Add(_apprentice); await _context.DbContext.SaveChangesAsync(); }