def METHOD_NAME(self):
    """
    Test whether the student registration event is sent during the user's
    registration process.
    Expected result:
        - STUDENT_REGISTRATION_COMPLETED is sent and received by the mocked receiver.
        - The arguments that the receiver gets are the arguments sent by the event
        except the metadata generated on the fly.
    """
    event_receiver = Mock(side_effect=self._event_receiver_side_effect)
    STUDENT_REGISTRATION_COMPLETED.connect(event_receiver)
    self.client.post(self.url, self.user_info)
    user = User.objects.get(username=self.user_info.get("username"))
    self.assertTrue(self.receiver_called)
    self.assertDictContainsSubset(
        {
            "signal": STUDENT_REGISTRATION_COMPLETED,
            "sender": None,
            "user": UserData(
                pii=UserPersonalData(
                    username=user.username,
                    email=user.email,
                    name=user.profile.name,
                ),
                id=user.id,
                is_active=user.is_active,
            ),
        },
        event_receiver.call_args.kwargs
    )