### Question:
MessageReceiver implements AutoCloseable { protected String getName() { return name; } MessageReceiver(String name, MessageConsumer consumer); void close();  }### Answer:
@Test public void testGetName() { assertEquals(name, messageReceiver.getName()); }