### Question:
DefaultUntypedRecordableEventDescriptor implements UntypedRecordableEventDescriptor, WikiComponent { @Override public String getApplicationName() { return getLocalizedMessage(applicationName); } DefaultUntypedRecordableEventDescriptor(EntityReference reference, DocumentReference authorReference,
        BaseObject baseObject, ContextualLocalizationManager contextualLocalizationManager,
            NamespaceContextExecutor namespaceContextExecutor); @Override String getValidationExpression(); @Override List<String> getEventTriggers(); @Override List<String> getObjectTypes(); @Override EntityReference getEntityReference(); @Override DocumentReference getDocumentReference(); @Override DocumentReference getAuthorReference(); @Override Type getRoleType(); @Override String getRoleHint(); @Override WikiComponentScope getScope(); @Override String getEventType(); @Override String getApplicationName(); @Override String getApplicationId(); @Override String getDescription(); @Override String getApplicationIcon(); @Override String getEventTypeIcon(); @Override String getTargetExpression();  }### Answer:
@Test public void getApplicationName() throws Exception { assertEquals("Namespace [wiki:someWiki] -> [applicationName]", descriptor.getApplicationName()); Exception e = new Exception("Some error"); when(namespaceContextExecutor.execute(any(Namespace.class), any(Callable.class))).thenThrow(e); assertEquals("applicationName", descriptor.getApplicationName()); assertEquals("Failed to render the translation key [applicationName] in the namespace " + "[wiki:someWiki] for the event descriptor of [eventType].", allLogRule.getMessage(0)); }