public void testConvertRabbitAccessException() {
assertThat(RabbitExceptionTranslator.convertRabbitAccessException(new PossibleAuthenticationFailureException(new RuntimeException())),
instanceOf(AmqpAuthenticationException.class));
assertThat(RabbitExceptionTranslator.convertRabbitAccessException(new AmqpException("")),
instanceOf(AmqpException.class));
assertThat(RabbitExceptionTranslator.convertRabbitAccessException(new ShutdownSignalException(false, false, null, null)),
instanceOf(AmqpConnectException.class));