public void PostEditRegistrationPrompt_save_calls_correct_methods()
        {
            // Given
            var          model  = new EditRegistrationPromptViewModel(1, "Test", false, "Test");
            const string action = "save";

            A.CallTo(
                () => centreRegistrationPromptsService.UpdateCentreRegistrationPrompt(
                    ControllerContextHelper.CentreId,
                    1,
                    false,
                    "Test"
                    )
                ).DoesNothing();

            // When
            var result = registrationPromptsController.EditRegistrationPrompt(model, action);

            // Then
            A.CallTo(
                () => centreRegistrationPromptsService.UpdateCentreRegistrationPrompt(
                    ControllerContextHelper.CentreId,
                    1,
                    false,
                    "Test"
                    )
                ).MustHaveHappened();
            result.Should().BeRedirectToActionResult().WithActionName("Index");
        }
        public void UpdateCentreRegistrationPrompt_calls_data_service()
        {
            // Given
            A.CallTo(() => centreRegistrationPromptsDataService.UpdateCentreRegistrationPrompt(1, 1, true, null)).DoesNothing();

            // When
            centreRegistrationPromptsService.UpdateCentreRegistrationPrompt(1, 1, true, null);

            // Then
            A.CallTo(() => centreRegistrationPromptsDataService.UpdateCentreRegistrationPrompt(1, 1, true, null))
            .MustHaveHappened();
        }