### Question:
IRRPassTicketGenerationException extends AbstractIRRPassTicketException { @Override public String getMessage() { return getMessage("Error on generation of PassTicket:"); } IRRPassTicketGenerationException(int safRc, int racfRc, int racfRsn);  IRRPassTicketGenerationException(ErrorCode errorCode); @Override String getMessage();  }### Answer:
@Test public void testInit() { IRRPassTicketGenerationException exception = new IRRPassTicketGenerationException(8, 16, 32); assertEquals(8, exception.getSafRc()); assertEquals(16, exception.getRacfRc()); assertEquals(32, exception.getRacfRsn()); assertEquals(AbstractIRRPassTicketException.ErrorCode.ERR_8_16_32, exception.getErrorCode()); assertEquals("Error on generation of PassTicket: " + AbstractIRRPassTicketException.ErrorCode.ERR_8_16_32.getMessage(), exception.getMessage()); IRRPassTicketGenerationException exception2 = new IRRPassTicketGenerationException(AbstractIRRPassTicketException.ErrorCode.ERR_8_12_8); assertEquals(8, exception2.getSafRc()); assertEquals(12, exception2.getRacfRc()); assertEquals(8, exception2.getRacfRsn()); assertEquals(AbstractIRRPassTicketException.ErrorCode.ERR_8_12_8, exception2.getErrorCode()); }