@Test
public void testSendToAddressSync() throws Exception {

   String id = UUID.randomUUID().toString();
   jgroupsMessageSender.sendToAddressSync(address, id);
   new Verifications() {{
      Message msg;
      RequestOptions options;
      dispatcher.sendMessage(msg = withCapture(), options = withCapture());
      assertThat(msg.getObject()).isEqualTo(id);
      assertThat(msg.getDest()).isEqualTo(address);
      assertThat(options.getMode()).isEqualTo(ResponseMode.GET_ALL);
   }};
}