ConfluenceIframeSpaceAppAction extends AbstractSpaceAction implements SpaceAware, ConfluenceSparkIframeAction { @Override public String getIframeContextInfo() { return "{\"space_key\": \"" + getSpaceKey() + "\"}"; }  String index(); @Override String getIframeContextInfo(); @Override String getSpaQueryString(); @Override String getSpaBaseUrl(); @Override String getSelectedWebItem(); @Override List<String> getRequiredResourceKeys(); @Override boolean isSpaceRequired(); @Override boolean isViewPermissionRequired(); String getBodyAsHtml();  }
@Test public void iframeSpaceActionDefaultContextInfo() throws IOException { testSpaceKey = "test-space-key"; Assert.assertEquals("{\"space_key\": \"test-space-key\"}", actionInstance.getIframeContextInfo()); testSpaceKey = "KEY57"; Assert.assertEquals("{\"space_key\": \"KEY57\"}", actionInstance.getIframeContextInfo()); }