@throws Exception if the test fails
()
| 99 | * @throws Exception if the test fails |
| 100 | */ |
| 101 | @Test |
| 102 | public void nullPath() throws Exception { |
| 103 | final Cookie cookie1 = new Cookie("localhost", "a", "one", null, null, false, false, null); |
| 104 | final Cookie cookie2 = new Cookie("localhost", "a", "one", null, null, false, false, null); |
| 105 | final Cookie cookie3 = new Cookie("localhost", "a", "one", "/", null, true, false, null); |
| 106 | assertEquals(cookie1, cookie2); |
| 107 | assertEquals(cookie2, cookie3); |
| 108 | assertEquals(cookie1.hashCode(), cookie2.hashCode()); |
| 109 | assertEquals(cookie2.hashCode(), cookie3.hashCode()); |
| 110 | } |
| 111 | |
| 112 | /** |
| 113 | * @throws Exception if the test fails |
nothing calls this directly
no test coverage detected