@Test
public void testGetOAuth2StateOptionalWithNullState() {

	MockHttpServletRequest mockHttpServletRequest =
		new MockHttpServletRequest();
	MockHttpSession mockHttpSession = new MockHttpSession();
	mockHttpServletRequest.setSession(mockHttpSession);
	Optional<OAuth2State> oAuth2StateOptional =
		OAuth2StateUtil.getOAuth2StateOptional(mockHttpServletRequest);
	Assert.assertFalse(oAuth2StateOptional.isPresent());
}