private Consumer<Operation> createNotificationTarget(){
  return null;
}

private Consumer < Operation > createNotificationTarget ( ) { return null ; }
this creates a lambda to receive notifications . it ' s meant as a demonstration of how to receive notifications . we don ' t validate that we receive notifications because our task runs very quickly : there ' s no guarantee that we ' ll subscribe for notifications before it completes . that said , this normally does receive notifications , and the log output of the test will show them .
