@Test
public void testGetInstance() {

    try(SettingsOverride override = SettingsOverride.apply(Map.of(AppSettings.AUTHENTICATION_BACKEND, "com.example.DoesNotExist"))) {
        try {
            AbstractAuthenticationBackend.getInstance();
            fail();
        } catch (RuntimeException e) {
            assertEquals("java.lang.ClassNotFoundException: com.example.DoesNotExist", e.getMessage());
        }
    }
}