def METHOD_NAME(self) -> None:
    self.assertEqual(map_username_to_mxid_localpart("tEST_1234"), "test_1234")
    self.assertEqual(
        map_username_to_mxid_localpart("tEST_1234", case_sensitive=True),
        "t_e_s_t__1234",
    )