@Test
void message() {

    var stats = new Stats();
    stats.put("sys_load_avg", 1d);
    StatMessage message = task.message(stats);
    assertThat(message.id).isNotNull();
    assertThat(message.stats).containsOnly(entry("sys_load_avg", 1d));
}