@Test
public void servingUrlWithSecureFlagTrue() throws Exception {
assumeEnvironment(Environment.APPSPOT, Environment.CAPEDWARF);
ServingUrlOptions servingUrlOptions = ServingUrlOptions.Builder.withBlobKey(blobKey);
String url = imagesService.getServingUrl(servingUrlOptions.secureUrl(true));
assertStartsWith("https://", url);
url = imagesService.getServingUrl(servingUrlOptions.imageSize(32).crop(false).secureUrl(true));
assertStartsWith("https://", url);
}