package Ġk lite Ċ Ċ import Ġch . tut tel i . at rium . api . fluent . en _ GB . toEqual Ċ import Ġch . tut tel i . at rium . api . ver bs . expect Ċ import Ġk lite . Cookie . Same Site . None Ċ import Ġorg . junit . jupiter . api . Test Ċ import Ġjava . time . Instant . of Epoch Second Ċ Ċ class ĠCookie Test Ġ{ ĊĠ Ġ@ Test Ġfun Ġplain () Ġ{ ĊĠĠĠ Ġexpect ( Cookie (" Hello ", Ġ" W Ã¶r ld "). toString ()). toEqual (" Hello = W % C 3 % B 6 r ld ") ĊĠ Ġ} ĊĊĠ Ġ@ Test Ġfun Ġexpires () Ġ{ ĊĠĠĠ Ġexpect ( Cookie (" Hello ", Ġ" World ", Ġexpires Ġ= Ġof Epoch Second ( 1 6 3 4 8 0 0 8 6 0 )). toString ()). toEqual (" Hello = World ; ĠExp ires = Thu , Ġ 2 1 ĠOct Ġ 2 0 2 1 Ġ 0 7 : 2 1 : 0 0 ĠGMT ") ĊĠ Ġ} ĊĊĠ Ġ@ Test Ġfun Ġdomain () Ġ{ ĊĠĠĠ Ġexpect ( Cookie (" Hello ", Ġ" World ", Ġdomain Ġ= Ġ" github . com "). toString ()). toEqual (" Hello = World ; ĠDomain = github . com ") ĊĠ Ġ} ĊĊĠ Ġ@ Test Ġfun Ġpath () Ġ{ ĊĠĠĠ Ġexpect ( Cookie (" Hello ", Ġ" World ", Ġpath Ġ= Ġ"/ hello "). toString ()). toEqual (" Hello = World ; ĠPath =/ hello ") ĊĠ Ġ} ĊĊĠ Ġ@ Test Ġfun Ġattrs () Ġ{ ĊĠĠĠ Ġexpect ( Cookie (" Hello ", Ġ" World ", Ġhttp Only Ġ= Ġtrue , Ġsecure Ġ= Ġtrue , Ġsame Site Ġ= ĠNone ). toString ()). toEqual (" Hello = World ; ĠHttp Only ; ĠSecure ; ĠSame Site = None ") ĊĠ Ġ} Ċ } Ċ