Example #1
0
        public void Registering_delegate_sends_approval_email_with_old_site_approval_link()
        {
            // Given
            var model = RegistrationModelTestHelper.GetDefaultDelegateRegistrationModel();

            // When
            registrationService.RegisterDelegate(model, string.Empty, false);

            // Then
            A.CallTo(
                () =>
                notificationDataService.GetAdminRecipientsForCentreNotification(
                    model.Centre,
                    4
                    )
                ).MustHaveHappened();
        }