@Test public void rotatesComponentByCurrentAngleOnSetup(@Injectable final Graphics2D g2D) { new EffectSetupVerification(g2D); Rotate rotate = new Rotate(90, new JButton()); rotate.setRadians(0.2); rotate.setup(g2D); new Verifications() { { g2D.rotate(0.2); } }; }