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"));
assertTrue(cookie.getValue().equals("deleted"));
System.out.println(cookie.getExpiryDate());
System.out.println(cookie);
}