@Test
public void testMmessageGroupIdShouldBeSameForSameDevice() {

    final String deviceId = "test-device-001";
    final Set<String> groupIds = new HashSet<>();
    for (int i = 0; i < 100; i++) {
        groupIds.add(this.messageSender.getMessageGroupId(deviceId));
    }
    final int actual = groupIds.size();
    assertThat(actual == 1).as("Message group id should be the same for same device").isTrue();
}