SetterAdapter implements Setter { @Override public void setColour(@ColorInt int colour) { colorSetter.setColor(colour); } SetterAdapter(ColorSetter colorSetter); @Override void setColour(@ColorInt int colour); @Override void setTransientColour(@ColorInt int colour);  }
@Test public void givenAColourSetterWrappedInASetterAdapterThenSetColorIsCalled() { setter.setColour(1); verify(colorSetter, atLeastOnce()).setColor(anyInt()); }