@Test
public void testPropagateSessionAlreadyPropagated() {

  RequestWithSession request = mock(RequestWithSession.class);
  ResponseWithSessionId response = mock(ResponseWithSessionId.class);
  when(request.getAttribute(SessionManager.SESSION_PROPAGATED)).thenReturn(Boolean.TRUE);
  sessionManager.propagateSession(request, response);
  verify(tracking, never()).propagateSession(request, response);
  verify(request, never()).setAttribute(SessionManager.SESSION_PROPAGATED, Boolean.TRUE);
}