FixedColorFill implements Fill { @Override public Color color() { return this.clr; } FixedColorFill(final Color clr); @Override Color color();  }
@Test public void respondsWithCorrectColor() { final Color color = Mockito.mock(Color.class); MatcherAssert.assertThat( new FixedColorFill(color).color(), Matchers.equalTo(color) ); }