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 toStringWithNestedBigCollections() {
        List<String> strings = Collections.nCopies(15, "0");
        List<Integer> ints =  Collections.nCopies(15, 1);
        List<Long> longs =  Collections.nCopies(15, 2L);
        List<Double> doubles =  Collections.nCopies(15, 3.1D);
        List<Float> floats =  Collections.nCopies(15, 4.2F);
        List<Byte> bytes =  Collections.nCopies(15, (byte)5);
        List<Character> chars =  Collections.nCopies(15, '6');
        
        Object[] input = new Object[] { strings, ints, longs, doubles, floats, bytes, chars };
        StringBuilder sb = new StringBuilder();
        sb.append("[[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...], ");
        sb.append("[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, ...], ");
        sb.append("[2, 2, 2, 2, 2, 2, 2, 2, 2, 2, ...], ");
        sb.append("[3.1, 3.1, 3.1, 3.1, 3.1, 3.1, 3.1, 3.1, 3.1, 3.1, ...], ");
        sb.append("[4.2, 4.2, 4.2, 4.2, 4.2, 4.2, 4.2, 4.2, 4.2, 4.2, ...], ");
        sb.append("[5, 5, 5, 5, 5, 5, 5, 5, 5, 5, ...], ");
        sb.append("[6, 6, 6, 6, 6, 6, 6, 6, 6, 6, ...]]");
        
        assertThat(LogHelper.toString(input)).isEqualTo(sb.toString());
    }