MessageActionsPayload { public String getSummary() { return summary; }  String getId(); void setId(String withId); String getReplyToId(); void setReplyToId(String withReplyToId); String getMessageType(); void setMessageType(String withMessageType); String getCreatedDateTime(); void setCreatedDateTime(String withCreatedDateTime); String getLastModifiedDateTime(); void setLastModifiedDateTime(String withLastModifiedDateTime); Boolean getDeleted(); void setDeleted(Boolean withDeleted); String getSubject(); void setSubject(String withSubject); String getSummary(); void setSummary(String withSummary); String getImportance(); void setImportance(String withImportance); String getLinkToMessage(); void setLinkToMessage(String withLinkToMessage); String getLocale(); void setLocale(String withLocale); MessageActionsPayloadFrom getFrom(); void setFrom(MessageActionsPayloadFrom withFrom); MessageActionsPayloadBody getBody(); void setBody(MessageActionsPayloadBody withBody); String getAttachmentLayout(); void setAttachmentLayout(String withAttachmentLayout); List<MessageActionsPayloadAttachment> getAttachments(); void setAttachments(List<MessageActionsPayloadAttachment> withAttachments); List<MessageActionsPayloadMention> getMentions(); void setMentions(List<MessageActionsPayloadMention> withMentions); List<MessageActionsPayloadReaction> getReactions(); void setReactions(List<MessageActionsPayloadReaction> withReactions);  }
@Test public void TestGetSummary(){ String summary = "testSummary"; MessageActionsPayload messageActionsPayload = new MessageActionsPayload(){ { setSummary(summary); } }; String result = messageActionsPayload.getSummary(); Assert.assertEquals(result, summary); }