### Question:
ReportJobSourceParametersXmlAdapter extends XmlAdapter<ClientReportParametersMapWrapper, Map<String, String[]>> { @Override public ClientReportParametersMapWrapper marshal(Map<String, String[]> v) throws Exception { HashMap<String, String[]> result = null; if (v != null && !v.isEmpty()) { result = new HashMap<String, String[]>(); for (String currentKey : v.keySet()) { String[] currentValue = v.get(currentKey); result.put(currentKey, currentValue); } } return result != null ? new ClientReportParametersMapWrapper(result) : null; }  @Override ClientReportParametersMapWrapper marshal(Map<String, String[]> v); @Override Map<String, String[]> unmarshal(ClientReportParametersMapWrapper v);  }### Answer:
@Test public void marshal_nullValue_nullValue() throws Exception { ClientReportParametersMapWrapper actual = objectUnderTest.marshal(null); assertNull(actual); }
@Test public void marshal_empty_nullValue() throws Exception { ClientReportParametersMapWrapper actual = objectUnderTest.marshal(new HashMap<String, String[]>()); assertNull(actual); }
@Test public void marshal_someParameters_wrapper() throws Exception { ClientReportParametersMapWrapper expected = createClientReportParametersMapWrapperWithParameters(); ClientReportParametersMapWrapper actual = objectUnderTest.marshal(TEST_PARAMETER_VALUES); assertEquals(expected, actual); }