### Question:
MonthsByteXmlAdapter extends XmlAdapter<ClientMonthsSortedSetWrapper, SortedSet<Byte>> { @Override public ClientMonthsSortedSetWrapper marshal(SortedSet<Byte> v) throws Exception { ClientMonthsSortedSetWrapper result = null; if(v != null && !v.isEmpty()){ SortedSet<String> strings = new TreeSet<String>(); for(Byte value : v) strings.add(value.toString()); result = new ClientMonthsSortedSetWrapper(strings); } return result; }  @Override SortedSet<Byte> unmarshal(ClientMonthsSortedSetWrapper v); @Override ClientMonthsSortedSetWrapper marshal(SortedSet<Byte> v);  }### Answer:
@Test public void marshal_nullValue_nullValue() throws Exception { ClientMonthsSortedSetWrapper actual = objectUnderTest.marshal(null); assertNull(actual); }
@Test public void marshal_empty_nullValue() throws Exception { ClientMonthsSortedSetWrapper actual = objectUnderTest.marshal(new TreeSet<Byte>()); assertNull(actual); }
@Test public void marshal_someDays_wrapper() throws Exception { ClientMonthsSortedSetWrapper expected = createClientMonthsSortedSetWrapperWithMonths(); ClientMonthsSortedSetWrapper actual = objectUnderTest.marshal(TEST_MONTH_AS_BYTES); assertEquals(expected, actual); }