@@ -0,0 +1,743 @@
+package com.fsck.k9.mail.internet;%0A%0Aimport com.fsck.k9.helper.Utility;%0A%0Aimport junit.framework.TestCase;%0A%0Aimport java.io.Serializable;%0Aimport java.util.LinkedList;%0A%0Apublic class UtilityTest extends TestCase %7B%0A%0A    public void testToSerializableList() %7B%0A        LinkedList%3CString%3E input = new LinkedList%3CString%3E(Arrays.asList(%22a%22, %22b%22));%0A%0A        Serializable serializableList = Utility.toSerializableList(input);%0A%0A        assertEquals(serializableList, input);%0A    %7D%0A%0A    public void testToSerializableListAlreadySerializable() %7B%0A        ArrayList%3CString%3E input = new ArrayList%3CString%3E(Arrays.asList(%22a%22, %22b%22));%0A%0A        Serializable serializableList = Utility.toSerializableList(input);%0A%0A        assertSame(serializableList, input);%0A    %7D%0A%0A%7D%0A

add unit test