### Question:
EditTextMessage extends EditMessageRequest<TextMessage> { public static EditTextMessageBuilder forMessage(TextMessage message) { Objects.requireNonNull(message, "text message cannot be null"); return builder() .chatId(message.getChat().getChatId()) .messageId(message.getMessageId()); } @Builder  EditTextMessage(Consumer<TextMessage> callback, Consumer<TelegramException> errorHandler, ChatId chatId, int messageId, String inlineMessageId, ReplyMarkup replyMarkup, String text, ParseMode parseMode, boolean disableWebPagePreview); static EditTextMessageBuilder forMessage(TextMessage message); static EditTextMessageBuilder forMessage(GameMessage message); static EditTextMessageBuilder forInlineMessage(String inlineMessageId);  }### Answer:
@Test public void toEditTextRequest_output_same_as_forMessage_text() { EditTextMessage expected = EditTextMessage.forMessage(textMessageMock).build(); EditTextMessage actual = textMessageMock.toEditTextRequest().build(); assertEquals(expected, actual); }
@Test public void toEditTextRequest_output_same_as_forMessage_game() { EditTextMessage expected = EditTextMessage.forMessage(gameMessageMock).build(); EditTextMessage actual = gameMessageMock.toEditTextRequest().build(); assertEquals(expected, actual); }