### Question:
InMemoryMessageSender implements MessageSender<T>, Resettable { public List<T> getSentMessages() { return sentMessages; } InMemoryMessageSender(final MessageQueue<T> messageQueue); @Override void send(final T message); @Override void sendDelayedMessage(final T message, final int delaySeconds); List<T> getSentMessages(); void setForwardMessagesToQueue(final boolean forwardMessagesToQueue); @Override String toString(); @Override void reset();  }### Answer:
@Test public void shouldReturnNoMessagesAfterConstruction_onGetSentMessages() { final List<TypedMessage> sentMessages = inMemoryMessageSender.getSentMessages(); assertTrue(sentMessages.isEmpty()); }