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