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