@Override
  public final void getSize(@NonNull SizeReadyCallback cb) {
    sizeDeterminer.getSize(cb);
  }
@Test
  public void testDoesNotNotifyCallbackTwiceIfAddedTwice() {
    target.getSize(cb);
    target.getSize(cb);

    view.setLayoutParams(new FrameLayout.LayoutParams(100, 100));
    activity.visible();
    view.getViewTreeObserver().dispatchOnPreDraw();

    verify(cb, times(1)).onSizeReady(anyInt(), anyInt());
  }