mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-07-10 04:13:31 +00:00
Added Serializable check just to be sure...
This commit is contained in:
parent
1a9629b197
commit
9fd0bbd694
@ -3,6 +3,7 @@ package org.acegisecurity.ui.savedrequest;
|
|||||||
import junit.framework.TestCase;
|
import junit.framework.TestCase;
|
||||||
|
|
||||||
import javax.servlet.http.Cookie;
|
import javax.servlet.http.Cookie;
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
public class SavedCookieTest extends TestCase {
|
public class SavedCookieTest extends TestCase {
|
||||||
|
|
||||||
@ -60,4 +61,7 @@ public class SavedCookieTest extends TestCase {
|
|||||||
assertEquals(cookie.getVersion(), other.getVersion());
|
assertEquals(cookie.getVersion(), other.getVersion());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void testSerializable() throws Exception {
|
||||||
|
assertTrue(savedCookie instanceof Serializable);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user