public QueueConfig setBackupCount(int backupCount) {
        this.backupCount = checkBackupCount(backupCount, asyncBackupCount);
        return this;
    }
@Test(expected = IllegalArgumentException.class)
    public void setBackupCount_tooLarge() {
        // max allowed is 6
        queueConfig.setBackupCount(200);
    }