class WebhookImpl implements RobotMessenger {
    @Override
    public void sendMessage(RestTemplate restTemplate, String token, String secret, Expression messageTemplate, Message message) {<FILL_FUNCTION_BODY>}

    @Override
    public Expression getDefaultTestSuiteTemplate() {
        return null;
    }

    @Override
    public Expression getDefaultProjectSummaryTemplate() {
        return null;
    }

    @Override
    public Expression getDefaultDeviceMessageTemplate() {
        return null;
    }
}

        if (messageTemplate == null) {
            ResponseEntity<Object> responseEntity = restTemplate.getForEntity(token, Object.class);
            log.info("robot result: " + responseEntity.getBody());
        } else {
            Object content = messageTemplate.getValue(ctx, message);
            ResponseEntity<Object> responseEntity = restTemplate.postForEntity(token, content, Object.class);
            log.info("robot result: " + responseEntity.getBody());
        }
    
<no_super_class>