@Override
    public String getMethod() {
        return PATH;
    }
@Test
    public void testSetMyCommandsWithMoreThan100Commands() {
        SetMyCommands setMyCommands = SetMyCommands
                .builder()
                .languageCode("en")
                .scope(BotCommandScopeDefault.builder().build())
                .build();
        List<BotCommand> commands = new ArrayList<>();
        for(int i = 0; i < 102; i++) {
            commands.add(BotCommand.builder().command("test").description("Test Description").build());
        }
        setMyCommands.setCommands(commands);
        assertEquals("setMyCommands", setMyCommands.getMethod());
        Throwable thrown = assertThrows(TelegramApiValidationException.class, setMyCommands::validate);
        assertEquals("No more than 100 commands are allowed", thrown.getMessage());
    }