DataRecordUploadOptions { public static DataRecordUploadOptions fromBlobUploadOptions(@NotNull final BlobUploadOptions options) { return new DataRecordUploadOptions(options.isDomainOverrideIgnored()); } private  DataRecordUploadOptions(boolean domainOverrideIgnored); static DataRecordUploadOptions fromBlobUploadOptions(@NotNull final BlobUploadOptions options); boolean isDomainOverrideIgnored(); static DataRecordUploadOptions DEFAULT; }
@Test public void testConstruct() { BlobUploadOptions blobOptions = new BlobUploadOptions(false); DataRecordUploadOptions options = DataRecordUploadOptions.fromBlobUploadOptions(blobOptions); verifyUploadOptions(options, false); }
@Test public void testConstructFromNullThrowsException() { try { DataRecordUploadOptions.fromBlobUploadOptions(null); fail("Exception expected but not thrown"); } catch (NullPointerException | IllegalArgumentException e) { } }