mockRequestAndResponse();
// Change the session
session = Session.restore();
session.put("username", "Bob");
session.save();
Cookie sessionCookie = Response.current().cookies.get(Scope.COOKIE_PREFIX + "_SESSION");
assertNotNull(sessionCookie);
assertTrue(sessionCookie.value.contains("username"));
assertTrue(sessionCookie.value.contains("Bob"));