def METHOD_NAME(self):
    r = ExtraFieldsRenderer()
    fc = ExtraFieldsContext()
    # first test the extra fields stuff directly
    rewritten = r._rewrite_extra_fields(fc, r.FIELD_GROUPS.get("test")[0].get("extra"))
    alpha = rewritten.get("extra_input_fields").get("alpha")
    beta = rewritten.get("extra_input_fields").get("beta")
    assert isinstance(alpha, StringField)
    assert alpha.short_name == "one"
    assert isinstance(beta, StringField)
    assert beta.short_name == "two"
    # now test it indirectly through the render function
    html = r.render_field_group(fc, "test")
    assert 'name="one"' in html
    assert 'name="two"' in html