@Test(expected = UnsupportedOperationException.class)
public void testFailedUploadsNotModifiableInitial() {

    AttachmentUploadResult<SW360Release> result = new AttachmentUploadResult<>(new SW360Release());
    result.failedUploads()
            .put(new AttachmentUploadRequest.Item(Paths.get("p"), SW360AttachmentType.SOURCE_SELF),
                    new Exception());
}