@Test
public void TestGetAttachments(){

    List<MessageActionsPayloadAttachment> attachments = new ArrayList<MessageActionsPayloadAttachment>();
    MessageActionsPayload messageActionsPayload = new MessageActionsPayload(){
        {
            setAttachments(attachments);
        }
    };
    List<MessageActionsPayloadAttachment> result = messageActionsPayload.getAttachments();
    Assert.assertEquals(result, attachments);
}