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