### Question:
EditorLinksImpl extends AbstractEmptyTextComponent implements EditorLinks { @Override public String getAssetDetailsEditorPath() { return request.getResourceResolver().map(ASSET_DETAILS_PREFIX + asset.getPath()); }  @Override String getAssetDetailsEditorPath(); @Override String getAssetFolderEditorPath(); @Override boolean isEmpty(); @Override boolean isReady(); @Nonnull @Override String getExportedType();  }### Answer:
@Test public void getAssetDetailsEditorPath() { final String expected = "/assetdetails.html/content/dam/test.png"; ctx.currentResource("/content/editor-links"); final EditorLinks editorLinks = ctx.request().adaptTo(EditorLinks.class); assertEquals(expected, editorLinks.getAssetDetailsEditorPath()); }