### Question:
Mammoth { @Override public String toString() { return "The mammoth"; } Mammoth(); void timePasses(); @Override String toString(); void observe();  }### Answer:
@Test public void testToString() { final var toString = new Mammoth().toString(); assertNotNull(toString); assertEquals("The mammoth", toString); }
@Test public void testToString() { final String toString = new Mammoth().toString(); assertNotNull(toString); assertEquals("The mammoth", toString); }