`MockHttpServletRequest.getSession()` will always create a new session if there isn't one, and so can never return `null`. Similarly, `getSession(boolean)` should have a `@Contract("true -> !null")`.
MockHttpServletRequest.getSession()will always create a new session if there isn't one, and so can never returnnull.Similarly,
getSession(boolean)should have a@Contract("true -> !null").