### Question:
FlowControlCounter { public void setConnectionMaxBytes(final long connectionMaxBytes) { checkArgument(connectionMaxBytes > 0); this.connectionMaxBytes.updateAndGet(current -> max(connectionMaxBytes, current)); } FlowControlCounter(final long connectionMaxBytes, final long streamMaxBytes); synchronized TryConsumeResult tryConsume(final long sid, final long offset); void resetStream(final long sid, final long finalOffset); void setConnectionMaxBytes(final long connectionMaxBytes); long increaseStreamMax(final long sid); long increaseConnectionMax(); void setStreamMaxBytes(final long sid, final long streamMaxBytes);  }### Answer:
@Test(expected = IllegalArgumentException.class) public void setMaxConnectionNegative() { fcm.setConnectionMaxBytes(-1); }