@Test
 public void isSecureWithHttpsSchemeAndSecureFlagIsTrue() {
   assertFalse(request.isSecure());
   request.setScheme("https");
   request.setSecure(true);
   assertTrue(request.isSecure());
 }
 @Test
 public void isSecureWithHttpSchemeAndSecureFlagIsFalse() {
   assertFalse(request.isSecure());
   request.setScheme("http");
   request.setSecure(false);
   assertFalse(request.isSecure());
 }