@Test
public void overridesGraphicsStroke() {

    final Surface ctx = AxisPaintTest.context();
    final Graphics2D graphics = Mockito.mock(Graphics2D.class);
    new AxisPaint(ctx).paint(graphics);
    Mockito.verify(graphics).setStroke(Mockito.isA(AwtStroke.class));
}