### Question:
AddressesXmlAdapter extends XmlAdapter<ClientAddressesListWrapper, List<String>> { @Override public ClientAddressesListWrapper marshal(List<String> v) throws Exception { return v != null ? new ClientAddressesListWrapper(v) : null; }  @Override List<String> unmarshal(ClientAddressesListWrapper v); @Override ClientAddressesListWrapper marshal(List<String> v);  }### Answer:
@Test public void marshal_nullValue_nullValue() throws Exception { ClientAddressesListWrapper actual = objectUnderTest.marshal(null); assertNull(actual); }
@Test public void marshal_someAddress_wrapper() throws Exception { ClientAddressesListWrapper expected = createClientAddressesListWrapperWithAddresses(); ClientAddressesListWrapper actual = objectUnderTest.marshal(TEST_ADDRESSES); assertEquals(expected, actual); }