public void setTestBeforeUse(Boolean testBeforeUse) {
        this.testBeforeUse = testBeforeUse;
    }
Sets whether connections will be tested before being handed over to be used.

@param testBeforeUse True or false if connections are to be tested before use.
xmppserver/src/main/java/org/jivesoftware/database/DefaultConnectionProvider.java