@throws Exception if the test fails
()
| 113 | * @throws Exception if the test fails |
| 114 | */ |
| 115 | @Test |
| 116 | public void string() throws Exception { |
| 117 | final Cookie cookie = new Cookie("localhost", "Name ", "Value ", "/Path x ", new Date(1234567890), |
| 118 | true, true, "SameSite"); |
| 119 | |
| 120 | assertEquals("Name =Value ;domain=localhost;path=/Path x ;" |
| 121 | + "expires=Thu Jan 15 07:56:07 CET 1970;secure;httpOnly;sameSite=SameSite", cookie.toString()); |
| 122 | } |
| 123 | } |
nothing calls this directly
no test coverage detected