@Test
public void testValidateAutoCommitTrue() throws Exception {

    expected.expect(IllegalArgumentException.class);
    expected.expectMessage(AUTO_COMMIT_ENABLED_MSG);
    testProps.setProperty(ENABLE_AUTO_COMMIT_CONFIG, "true");
    validate(testProps);
}