@Test public void testCheckJmsTemplateNoTemplateAvailable() { ReflectionTestUtils.setField(service, "jmsTemplate", null); service.checkJmsTemplate(); }
@PostConstruct public void checkJmsTemplate() { if (jmsTemplate == null) { LOGGER.error("CertificateSender JMS template is unavailable!"); } }
CertificateSenderServiceImpl implements CertificateSenderService { @PostConstruct public void checkJmsTemplate() { if (jmsTemplate == null) { LOGGER.error("CertificateSender JMS template is unavailable!"); } } }
CertificateSenderServiceImpl implements CertificateSenderService { @PostConstruct public void checkJmsTemplate() { if (jmsTemplate == null) { LOGGER.error("CertificateSender JMS template is unavailable!"); } }  }
CertificateSenderServiceImpl implements CertificateSenderService { @PostConstruct public void checkJmsTemplate() { if (jmsTemplate == null) { LOGGER.error("CertificateSender JMS template is unavailable!"); } }  @PostConstruct void checkJmsTemplate(); @Override void storeCertificate(String intygsId, String intygsTyp, String jsonBody); @Override void sendCertificate(String intygsId, Personnummer personId, String jsonBody, String recipientId); @Override void sendCertificate(String intygsId, Personnummer personId, String jsonBody, String recipientId, boolean delay); @Override void revokeCertificate(String intygsId, String xmlBody, String intygsTyp, String intygsTypVersion); @Override void sendMessageToRecipient(String intygsId, String xmlBody); @Override void sendRegisterApprovedReceivers(String intygsId, String intygsTyp, String jsonBody); }
CertificateSenderServiceImpl implements CertificateSenderService { @PostConstruct public void checkJmsTemplate() { if (jmsTemplate == null) { LOGGER.error("CertificateSender JMS template is unavailable!"); } }  @PostConstruct void checkJmsTemplate(); @Override void storeCertificate(String intygsId, String intygsTyp, String jsonBody); @Override void sendCertificate(String intygsId, Personnummer personId, String jsonBody, String recipientId); @Override void sendCertificate(String intygsId, Personnummer personId, String jsonBody, String recipientId, boolean delay); @Override void revokeCertificate(String intygsId, String xmlBody, String intygsTyp, String intygsTypVersion); @Override void sendMessageToRecipient(String intygsId, String xmlBody); @Override void sendRegisterApprovedReceivers(String intygsId, String intygsTyp, String jsonBody);  }