GlobalErrorRegistry extends AbstractGlobalJsonParsableRegistry<DittoRuntimeException, JsonParsableException> implements ErrorRegistry<DittoRuntimeException> { public static GlobalErrorRegistry getInstance() { return INSTANCE; } private  GlobalErrorRegistry(final DittoJsonExceptionRegistry dittoJsonExceptionRegistry); static GlobalErrorRegistry getInstance();  }
@Test public void globalErrorRegistryKnowsJsonTypeNotParsableException() { final GlobalErrorRegistry instance = GlobalErrorRegistry.getInstance(); assertThat(instance.getTypes()).contains(JsonTypeNotParsableException.ERROR_CODE); }