@Test
public void drawsLines() {

    final Surface ctx = AxisPaintTest.context();
    final Graphics2D graphics = Mockito.mock(Graphics2D.class);
    new AxisPaint(ctx).paint(graphics);
    Mockito.verify(graphics, Mockito.atLeast(2)).drawLine(
        Mockito.anyInt(), Mockito.anyInt(),
        Mockito.anyInt(), Mockito.anyInt()
    );
}