InkDropSizeLimiter { float getMaximumRadius() { return Math.min(RADIUS_MAX, getRadius()); } InkDropSizeLimiter(BrushOptionsPreferences brushOptionsPreferences); static InkDropSizeLimiter newInstance(BrushOptionsPreferences brushOptionsPreferences);  }
@Test public void getMaximumRadiusReturnsMaximum() { givenAPercentageForAVeryHighRadius(); assertThat(inkDropSizeLimiter.getMaximumRadius()).isEqualTo(INK_DROP_MAX_RADIUS); }