@@ -0,0 +1,842 @@
+package org.lxp.dailylog.web.util;%0A%0Aimport javax.servlet.http.HttpServletRequest;%0Aimport javax.servlet.http.HttpSession;%0A%0Aimport org.junit.Assert;%0Aimport org.junit.Test;%0Aimport org.junit.runner.RunWith;%0Aimport org.mockito.Mockito;%0Aimport org.mockito.junit.MockitoJUnitRunner;%0A%0A@RunWith(MockitoJUnitRunner.class)%0Apublic class SessionHelperTest %7B%0A%0A    @Test%0A    public void getRequestId() throws Exception %7B%0A        HttpServletRequest request = Mockito.mock(HttpServletRequest.class);%0A        HttpSession session = Mockito.mock(HttpSession.class);%0A        Mockito.doReturn(null).when(request).getParameter(SessionHelper.SESSION_ID);%0A        Mockito.doReturn(session).when(request).getSession();%0A        Mockito.doReturn(%22sessionId%22).when(session).getId();%0A%0A        Assert.assertEquals(%22sessionId%22, SessionHelper.getRequestId(request));%0A    %7D%0A%7D%0A

add unit test for SessionHelperTest