def METHOD_NAME(self):
    register = Registry()
    register("plugin1")(Plugin)
    plugin = register["plugin1"]
    step = FormStepFactory(
        form__slug="myform",
        form__authentication_backends=["plugin1"],
        form_definition__login_required=True,
    )
    form = step.form
    # we need an arbitrary request
    request = factory.get("/foo")
    # check the start url
    url = plugin.get_start_url(request, form)
    self.assertRegex(url, r"^http://")
    self.assertEqual(
        url,
        reverse(
            "authentication:start",
            request=request,
            kwargs={"slug": "myform", "plugin_id": "plugin1"},
        ),
    )
    # check the return url
    url = plugin.get_return_url(request, form)
    self.assertRegex(url, r"^http://")
    self.assertEqual(
        url,
        reverse(
            "authentication:return",
            request=request,
            kwargs={"slug": "myform", "plugin_id": "plugin1"},
        ),
    )
    # check the registrator url
    url = plugin.get_registrator_subject_url(request, form, "http://foo.bar/form")
    self.assertRegex(url, r"^http://")
    self.assertEqual(
        url,
        furl(
            reverse(
                "authentication:registrator-subject",
                request=request,
                kwargs={"slug": form.slug},
            )
        )
        .set({"next": "http://foo.bar/form"})
        .url,
    )