### Question:
EWMAWriteDemandEstimator extends OverlappingCapacityAwareEstimator { @Override protected long getRequestNForCapacity(final long capacityToFill) { return capacityToFill / sizeAccumulator; } EWMAWriteDemandEstimator();   EWMAWriteDemandEstimator(long sizeAccumulator);   }### Answer:
@Test public void testNoRequestIfLowCapacity() { EWMAWriteDemandEstimator supplier = new EWMAWriteDemandEstimator(); assertThat("Unexpected request-n.", supplier.getRequestNForCapacity(2), is(0L)); }