public class DownloadListCodeServletTest {
@Test
public void testParseKeys() {
DownloadListCodeServlet downloadServlet = new DownloadListCodeServlet();
List<String> expected = Arrays.asList("com.google.code.advanced.codeblock.plugin.YXNkaHNhIGFzZHNhZGZvbw==","com.google.code.advanced.codeblock.plugin.HHODH09u7809u908dsjfn==");
List<String> actual = downloadServlet.parseAllPagePropertyKeys("com.google.code.advanced.codeblock.plugin.YXNkaHNhIGFzZHNhZGZvbw==|com.google.code.advanced.codeblock.plugin.HHODH09u7809u908dsjfn==|");
assertEquals(expected, actual);
List<String> expected2 = new ArrayList<String>();
List<String> actual2 = downloadServlet.parseAllPagePropertyKeys(null);
assertEquals(expected2, actual2);
List<String> expected3 = Arrays.asList("com.google.code.advanced.codeblock.plugin.YXNkaHNhIGFzZHNhZGZvbw==");
List<String> actual3 = downloadServlet.parseAllPagePropertyKeys("com.google.code.advanced.codeblock.plugin.YXNkaHNhIGFzZHNhZGZvbw==|");
assertEquals(expected3, actual3);
}