SQLExceptionFactory extends AbstractExceptionFactory<SQLException> { @Override public ExceptionType getType() { return ExceptionType.SQL; } SQLExceptionFactory(); @Override SQLException createException(String message); @Override boolean equals(SQLException exception1, SQLException exception2); @Override boolean indicatesFailure(SQLException exception, Dialect dialect); @Override ExceptionType getType();  }
@Test public void getType() { ExceptionType result = this.factory.getType(); assertSame(ExceptionType.SQL, result); }