@Test
public void testCookie() {
System.out.println("cookie");
DecodedDate dd = new DecodedDate();
dd.set(1970, 1, 1);
dd.setSecond(1);
String sdate = dd.toString(DecodedDate.PATTERNS[4], Locale.ENGLISH);
//assertEquals(sdate, "Thu, 01-Jan-1970 00:00:01");
String text = "reg_fb_gate=deleted; expires=\"Thu, 01-Jan-1970 00;00:01\"; path=/; domain=.foo.com;";
WebCookie cookie = new WebCookie(text);
assertTrue(cookie.getName().equals("reg_fb_gate"));