### Question:
RegisterAuthenticatorFactory implements RequiredActionFactory, DisplayTypeRequiredActionFactory { @Override public String getDisplayText() { return "Webauthn Register"; }  @Override RequiredActionProvider create(KeycloakSession session); @Override void init(Scope config); @Override void postInit(KeycloakSessionFactory factory); @Override void close(); @Override String getId(); @Override RequiredActionProvider createDisplay(KeycloakSession session, String displayType); @Override String getDisplayText(); static final String PROVIDER_ID; }### Answer:
@Test public void test_getDisplayText() throws Exception { RegisterAuthenticatorFactory factory = new RegisterAuthenticatorFactory(); Assert.assertEquals("Webauthn Register", factory.getDisplayText()); }