예제 #1
0
        public async Task If_Apprenticeship_NotExists_Then_CreateRecord()
        {
            //Arrange
            var fixture = new ApprenticeshipCompletionDateUpdatedEventFixture(true).SetGetApprenticeshipService();

            //Act
            await fixture.Run();

            //Assert
            fixture.AssertRecordCreated();
        }
예제 #2
0
        public async Task Then_Update_Status()
        {
            //Arrange
            var fixture = new ApprenticeshipCompletionDateUpdatedEventFixture(false);

            //Act
            await fixture.Run();

            //Assert
            fixture.AssertStatus();
        }