### Question:
RegisterAuthenticatorFactory implements RequiredActionFactory, DisplayTypeRequiredActionFactory { @Override public RequiredActionProvider create(KeycloakSession session) { return new RegisterAuthenticator(session); }  @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_create() throws Exception { KeycloakSession session = mock(KeycloakSession.class, Mockito.RETURNS_DEEP_STUBS); RegisterAuthenticatorFactory factory = new RegisterAuthenticatorFactory(); Assert.assertNotNull(factory.create(session)); }