public void SetInAttachment_SetsCorrectly() { var batch = CreateBatch(); var attachment = batch[0].Attachments[0]; DataId.SetInAttachment(attachment); AssertIdsWereSetCorrectly(batch, attachment); }