ColorProviderAdapter implements ColourProvider { @Override public int getColour(int position) { return colorProvider.getColor(position); } ColorProviderAdapter(@NonNull ColorProvider colorProvider); @Override int getColour(int position); @Override int getCount();  }
@Test public void givenAColorProviderWrappedInAColourProviderCompatThenGetColorMethodIsCalled() { colourProvider.getColour(0); verify(colorProvider, atLeastOnce()).getColor(anyInt()); }