panel = (TestPanel) p;
byte panelBorder = panel.getBorderState();
Assert.assertEquals(panelBorder, PanelBorder.ALL_BORDERS);
MCTViewManifestationInfo info = CanvasManifestation.getManifestationInfo(panel.getWrappedManifestation());
String panelBorderStr = info.getInfoProperty(ControlAreaFormattingConstants.PANEL_BORDER_PROPERTY);
Assert.assertEquals(Byte.parseByte(panelBorderStr), PanelBorder.ALL_BORDERS);
}
CanvasFormattingController.notifyAllBorderStatus(false, selectedPanels);
for (Panel p : selectedPanels) {
panel = (TestPanel) p;
byte panelBorder = panel.getBorderState();
Assert.assertEquals(panelBorder, PanelBorder.NO_BORDER);
MCTViewManifestationInfo info = CanvasManifestation.getManifestationInfo(panel.getWrappedManifestation());
String panelBorderStr = info.getInfoProperty(ControlAreaFormattingConstants.PANEL_BORDER_PROPERTY);
Assert.assertEquals(Byte.parseByte(panelBorderStr), PanelBorder.NO_BORDER);
}
}