public static String toString(RedisCommand<?> command, Object... params) {
        if (RedisCommands.AUTH.equals(command)) {
            return "command: " + command + ", params: (password masked)";
        }
        return "command: " + command + ", params: " + LogHelper.toString(params);
    }
@Test
    public void toStringWithSmallString() {
        char[] charsForStr = new char[100];
        Arrays.fill(charsForStr, '7');
        String string = new String(charsForStr);

        assertThat(LogHelper.toString(string)).isEqualTo(string);
    }