@Test
public void delegatesToWrappedWhenSupported() {

    final Renderer rend = Mockito.mock(Renderer.class);
    final Shape shape = new Shape(Mockito.mock(Line.class));
    final RenderSupport renderer = new RenderSupport(rend, Line.class);
    renderer.render(shape);
    Mockito.verify(rend).render(shape);
}