### Question:
EnhancedMessageTypeKey extends MessageTypeKey<E> { @Override public String toString() { return super.toString() + " msgType2: " + msgType2.getName(); } EnhancedMessageTypeKey(short msgVersion, Class<E> msgType, Class<F> msgType2); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString();  }### Answer:
@Test public void testToString() { EnhancedMessageTypeKey<?,?> key1 = new EnhancedMessageTypeKey<>(EncodeConstants.OF10_VERSION_ID, Action.class, OutputActionCase.class); Assert.assertEquals("Wrong toString()", "msgVersion: 1 objectType: org.opendaylight.yang.gen.v1.urn" + ".opendaylight.openflow.common.action.rev150203.actions.grouping.Action msgType2:" + " org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.action.rev150203.action" + ".grouping.action.choice.OutputActionCase", key1.toString()); }