### Question:
FailedNode extends MainNode<K, V> { @Override public String toString() { return "FailedNode(" + prev + ")"; } FailedNode(final MainNode<K, V> prev); @Override String toString();  }### Answer:
@Test public void testToString() { assertEquals("FailedNode(" + main + ")", failed.toString()); }