### Question:
VideoImpl extends AbstractEmptyTextComponent implements Video { @Override public boolean isEmpty() { return StringUtils.isBlank(getSrc()); }  @PostConstruct void init(); @Override boolean isEmpty(); @Override boolean isReady(); @Override String getSrc(); @Override boolean isVideoAsset(); @Nonnull @Override String getExportedType();  }### Answer:
@Test public void isEmpty() { ctx.currentResource("/content/empty"); final Video video = ctx.request().adaptTo(Video.class); assertTrue(video.isEmpty()); }
@Test public void isEmpty_NotEmpty() { ctx.currentResource("/content/video"); final Video video = ctx.request().adaptTo(Video.class); assertFalse(video.isEmpty()); }