@Test
void set() {

    assertThatThrownBy(() -> redis.set("key", "value", Duration.ZERO, true))
            .isInstanceOf(Error.class)
            .hasMessageContaining("expiration time must be longer than 1ms");
}