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