public async Task Add_AfterAdded_Success()
        {
            InviteService inviteService = new InviteService(
                IBaseDAOMock <AppUserEntity> .Create().Exists_Failure().Object,
                IBaseDAOMock <RoleEntity> .Create().Object,
                IBaseDAOMock <InviteEntity> .Create().Add_Success().Exists_Failure().Object,
                IGroupStoreMock.Create().Object,
                IGroupUserStoreMock.Create().Object,
                IEmailServiceMock.Create().SendInvite_Success().Object,
                IAddInviteFilterMock.Create().BeforeAdd_Success().AfterAdded_Success().Object,
                IValidatorMock <InviteToGroupRequest> .Create().Object,
                IValidatorMock <InviteRequest> .Create().Object,
                NullLogger <InviteService> .Instance,
                IOptionsMock <IdentityUIOptions> .Create().DefaultValue().Object,
                IOptionsMock <IdentityUIEndpoints> .Create().DefaultValue().Object);

            Result result = await inviteService.AddInvite("email");

            result.Success.Should().BeTrue();
        }