@Test
public void testChecksForContentTypeAttributes() {

  CreateFileOptions.builder()
      .setOverwriteExisting(true)
      .setContentType("")
      .setAttributes(ImmutableMap.of("Innocuous", "".getBytes(UTF_8)))
      .build();
  assertThrows(
      IllegalArgumentException.class,
      () ->
          CreateFileOptions.builder()
              .setOverwriteExisting(true)
              .setContentType("")
              .setAttributes(ImmutableMap.of("Content-Type", "".getBytes(UTF_8)))
              .build());
}