### Question:
MessageQueue { public MessageQueue() { this.blkQueue = new ArrayBlockingQueue<>(1024); } MessageQueue(); void submitMsg(Message msg); Message retrieveMsg();  }### Answer:
@Test public void messageQueueTest() { var msgQueue = new MessageQueue(); msgQueue.submitMsg(new Message("MessageQueue Test")); assertEquals("MessageQueue Test", msgQueue.retrieveMsg().getMsg()); }