### Question:
CustomTeaser implements Teaser { public String getImgAlign() { return imgAlign; }  @Override boolean isActionsEnabled(); @Override List<ListItem> getActions(); @Override String getLinkURL(); @Override Resource getImageResource(); @Override boolean isImageLinkHidden(); @Override String getTitle(); @Override boolean isTitleLinkHidden(); @Override String getDescription(); @Override String getTitleType(); @Override String getExportedType(); String getImgAlign();  }### Answer:
@Test void testCustomTeaser() { context.currentResource(TEASER1); CustomTeaser customTeaser1 = context.request().adaptTo(CustomTeaser.class); assertNotNull(customTeaser1); assertNotNull(customTeaser1.getImgAlign()); }