@Test
public void testToString() {

    String text = supplier.get().toString();
    assertThat(text).isEqualTo("DefaultTokenBucket{name='junit', capacity=1, refillStrategy=FixedIntervalRefillStrategy{refillRate=1.00 refill/s}, numberOfTokens=0}");
}