PdfViewerImpl extends AbstractComponentImpl implements PdfViewer { @Override public String getContainerClass() { if(!StringUtils.isEmpty(type)) { if (type.equals(FULL_WINDOW) && borderless) { return CSS_BORDERLESS; } else if (type.equals(SIZED_CONTAINER)) { return CSS_SIZED_CONTAINER; } else if (type.equals(IN_LINE)) { return CSS_IN_LINE; } } return CSS_FULL_WINDOW; }  @Override String getClientId(); @Override String getReportSuiteId(); @Override @Nullable String getDocumentPath(); @Override String getDocumentFileName(); @Override @Nullable String getType(); @Override @Nullable String getDefaultViewMode(); @Override boolean isBorderless(); @Override boolean isShowAnnotationTools(); @Override boolean isShowFullScreen(); @Override boolean isShowLeftHandPanel(); @Override boolean isShowDownloadPdf(); @Override boolean isShowPrintPdf(); @Override boolean isShowPageControls(); @Override boolean isDockPageControls(); @Override String getViewerConfigJson(); @Override String getContainerClass(); @NotNull @Override String getExportedType();  }
@Test void testGetContainerClass() { PdfViewer dcv = getDcvUnderTest(PATH_DCV_1); assertEquals(PdfViewer.CSS_FULL_WINDOW, dcv.getContainerClass()); }