WcmInit { public String getPagePropertiesDialogPath() { return this.pagePropertiesDialogPath; } @Inject  WcmInit(
      @AemObject AuthoringUIMode authoringUIMode,
      @AemObject ComponentContext componentContext,
      @OSGiService UndoConfigService undoConfigService); boolean isTouchUI(); boolean isClassicUI(); String getPagePropertiesDialogPath(); String getUndoConfig();  }
@Test void testGetPagePropertiesDialogPath() throws Exception { WcmInit underTest = new WcmInit(AuthoringUIMode.TOUCH, componentContext, undoConfigService); assertEquals(DIALOG_PATH, underTest.getPagePropertiesDialogPath()); when(componentContext.getEditContext()).thenReturn(null); underTest = new WcmInit(AuthoringUIMode.TOUCH, componentContext, undoConfigService); assertNull(underTest.getPagePropertiesDialogPath()); }