@Test
void tryLoadParseException() throws DocumentParseException {

    when(documentTools.parse(any(File.class))).thenThrow(DocumentParseException.class);
    assertThrows(BundleLoadException.class, () -> new EntityBundleLoader(documentTools, registry, JsonFileUtils.INSTANCE).load(mock(File.class), BundleLoadingOperation.EXPORT));
}