/* START TEST CODE */ package org.eclipse.bittorrent; import junit.framework.TestCase; public class InfoDictionaryTest extends TestCase { protected void setUp() throws Exception { } protected void tearDown() throws Exception { } public void testEmpty() { InfoDictionary id = new InfoDictionary(); assertEquals("de", id.toText()); //$NON-NLS-1$ } } /* END TEST CODE */ /* START SOURCE CODE */ package org.eclipse.bittorrent; import java.util.Map; import java.util.TreeMap; public class InfoDictionary { Map map = new TreeMap(); public String toText() { return "de"; //$NON-NLS-1$ } } /* END SOURCE CODE */