MapConverter implements Converter { public Object unmarshal(HierarchicalStreamReader reader, UnmarshallingContext context) { throw new UnsupportedOperationException("Unmarshalling is not implemented."); }  boolean canConvert(@SuppressWarnings("rawtypes") Class type); void marshal(Object source, HierarchicalStreamWriter writer, MarshallingContext context); Object unmarshal(HierarchicalStreamReader reader, UnmarshallingContext context);  }
@Test public void testUnmarshal() { assertThrows(UnsupportedOperationException.class, () -> { this.mapConverter.unmarshal(null, null); }); }