use of com.gitblit.models.TicketModel.Attachment in project gitblit by gitblit.
the class TicketServiceTest method newAttachment.
private Attachment newAttachment() {
Attachment attachment = new Attachment("test1.txt");
attachment.content = new byte[] { 0x41, 0x42, 0x43, 0x44, 0x45, 0x46, 0x47, 0x48, 0x49, 0x4a };
return attachment;
}
Aggregations