Provide a non-empty name for the test cookie.

PiperOrigin-RevId: 410290707
This commit is contained in:
Guice Team
2021-11-16 10:32:16 -08:00
committed by Guice Team
parent 0ce94279a1
commit 60fddb2c28
@@ -29,7 +29,7 @@ public class ContinuingHttpServletRequestTest extends TestCase {
private static final String TEST_VALUE_1 = "testValue1";
private static final String TEST_VALUE_2 = "testValue2";
private static final int DEFAULT_MAX_AGE = new Cookie("", "").getMaxAge();
private static final int DEFAULT_MAX_AGE = new Cookie("dummy", "").getMaxAge();
public void testReturnNullCookiesIfDelegateHasNoNull() {
HttpServletRequest delegate = createMock(HttpServletRequest.class);