/**
* @test java.sql.SQLTimeoutException(String, String, int)
*/
public void test_Constructor_LStringLStringI_2() {
SQLTimeoutException sQLTimeoutException = new SQLTimeoutException(
"MYTESTSTRING1", "MYTESTSTRING2", -1);
assertNotNull(sQLTimeoutException);
assertEquals(
"The SQLState of SQLTimeoutException set and get should be equivalent",
"MYTESTSTRING2", sQLTimeoutException.getSQLState());
assertEquals(
"The reason of SQLTimeoutException set and get should be equivalent",
"MYTESTSTRING1", sQLTimeoutException.getMessage());
assertEquals("The error code of SQLTimeoutException should be -1",
sQLTimeoutException.getErrorCode(), -1);
}