@Test
public void testNoRecipients() {

  Notification notification = new Notification();
  DispatchCallback callback = EasyMock.createMock(DispatchCallback.class);
  notification.Callback = callback;
  List<String> callbackIds = new ArrayList<String>();
  callbackIds.add(UUID.randomUUID().toString());
  notification.CallbackIds = callbackIds;
  callback.onFailure(callbackIds);
  EasyMock.expectLastCall();
  EasyMock.replay(callback);
  NotificationDispatcher dispatcher = m_dispatchFactory.getDispatcher(TargetType.EMAIL.name());
  dispatcher.dispatch(notification);
  EasyMock.verify(callback);
}