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