def METHOD_NAME(self, send_notification_mock: Mock) -> None:
    """
    Test that the endpoint fails if notificationType is not provided in the
    request json
    :return:
    """
    test_recipients = ['test@test.com']
    test_sender = 'test2@test.com'
    test_options: Dict = {}
    with self.app.test_client() as test:
        response = test.post('/api/mail/v0/notification', json={
            'recipients': test_recipients,
            'sender': test_sender,
            'options': test_options,
        })
        self.assertEqual(response.status_code, HTTPStatus.BAD_REQUEST)
        self.assertFalse(send_notification_mock.called)