Awt extends JFrame implements Output { @Override public void render(final Figure fig) { if (!this.initiated) { this.init(); } this.drawable.setFigure(fig); this.repaint(); this.setVisible(true); } Awt();  Awt(final AwtDrawableSurface drawable); @Override void render(final Figure fig); Awt withSize(final int width, final int height); Awt add(final AbstractAwtPaint painter);  }
@Test public void becomesVisible() { final Awt awt = new Awt(); awt.render(new Figure()); MatcherAssert.assertThat(awt.isVisible(), Matchers.is(true)); }