### Question:
StompJmsMessageFactory implements JmsMessageFactory { public StompConnection getStompConnection() { return this.connection; } StompJmsMessageFactory();  StompJmsMessageFactory(StompConnection connection); StompConnection getStompConnection(); void setStompConnection(StompConnection connection); @Override JmsMessage createMessage(); @Override JmsTextMessage createTextMessage(String payload); @Override JmsTextMessage createTextMessage(); @Override JmsBytesMessage createBytesMessage(); @Override JmsMapMessage createMapMessage(); @Override JmsStreamMessage createStreamMessage(); @Override JmsObjectMessage createObjectMessage(Serializable payload); @Override JmsObjectMessage createObjectMessage(); JmsMessage wrapMessage(StompFrame message); StompJmsTextMessage wrapTextMessage(StompFrame message); StompJmsBytesMessage wrapBytesMessage(StompFrame message); JmsMapMessage wrapMapMessage(StompFrame message); JmsStreamMessage wrapStreamMessage(StompFrame message); JmsObjectMessage wrapObjectMessage(StompFrame message);  }### Answer:
@Test public void testCreate() { StompJmsMessageFactory factory = new StompJmsMessageFactory(connection); assertNotNull(factory.getStompConnection()); }