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