Painters { public List<AbstractAwtPaint> defaults() { return new ArrayList<>(this.def); } Painters(); List<AbstractAwtPaint> defaults();  }
@Test public void givesDefaultPainters() { MatcherAssert.assertThat( new Painters().defaults(), Matchers.containsInAnyOrder( Arrays.asList( Matchers.instanceOf(AwtAngle.class), Matchers.instanceOf(AwtLine.class), Matchers.instanceOf(AwtSegment.class), Matchers.instanceOf(AwtRay.class), Matchers.instanceOf(AwtCircle.class), Matchers.instanceOf(AwtPoint.class) ) ) ); }