### Question:
AdapterMetaDataConverter { public String convertToJSONOrNull(AdapterMetaData metaData) { if (metaData==null) { return null; } try { return JSONAdapterSupport.FOR_UNKNOWN_ADAPTER.toJSON(metaData); } catch (AdapterException e) { LOG.error("Not able to convert to metadata string:{}",metaData, e); return null; } }  AdapterMetaData convertToMetaDataOrNull(String metaDataString); String convertToJSONOrNull(AdapterMetaData metaData);  }### Answer:
@Test public void metadata_null_transformed_to_string_is_null() { assertNull(converterToTest.convertToJSONOrNull(null)); }