IOExceptionFactory extends AbstractExceptionFactory<IOException> { @Override public ExceptionType getType() { return ExceptionType.IO; } IOExceptionFactory(); @Override IOException createException(String message); @Override boolean indicatesFailure(IOException exception, Dialect dialect); @Override ExceptionType getType(); @Override boolean correctHeuristic(IOException exception, Phase phase);  }
@Test public void getType() { ExceptionType result = this.factory.getType(); assertSame(ExceptionType.IO, result); }