public async Task Handle_EmployerQuery_WithDraftApprenticeship_ShouldReturnFalse() { var fixtures = new CanAccessApprenticeshipQueryHandlerTestsFixture().SeedDataWithDraftApprenticeship().SetMatchingAccountQuery(); var response = await fixtures.Handle(); Assert.IsFalse(response); }
public async Task Handle_ProviderQuery_WithApprovedApprenticeship_ShouldReturnTrue() { var fixtures = new CanAccessApprenticeshipQueryHandlerTestsFixture().SeedData().SetMatchingProviderQuery(); var response = await fixtures.Handle(); Assert.IsTrue(response); }