@Override
  public void setWatermark(@NonNull List<Drawable> watermarks) {
    mWatermarks.clear();
    mWatermarks.addAll(watermarks);
    for (Drawable watermark : mWatermarks) {
      watermark.setBounds(0, 0, mWatermarkDimen, mWatermarkDimen);
    }
    invalidate();
  }
@Test
  public void testWatermarkSetsBounds() {
    final int dimen =
        getApplicationContext().getResources().getDimensionPixelOffset(R.dimen.watermark_size);

    List<Drawable> watermarks =
        Arrays.asList(Mockito.mock(Drawable.class), Mockito.mock(Drawable.class));
    mViewUnderTest.setWatermark(watermarks);
    for (Drawable watermark : watermarks) {
      Mockito.verify(watermark).setBounds(0, 0, dimen, dimen);
    }
  }