code: function (ticks, value) {
      return typeof value === 'function' ?
        new Recorded(ticks, new OnNextPredicate(value)) :
        new Recorded(ticks, Notification.createOnNext(value));
    }
docs: Factory method for an OnNext notification record at a given time with a given value or a predicate function.
  
  1 - ReactiveTest.onNext(200, 42);
  2 - ReactiveTest.onNext(200, function (x) { return x.length == 2; });
  
  @param ticks Recorded virtual time the OnNext notification occurs.
  @param value Recorded value stored in the OnNext notification or a predicate.
  @return Recorded OnNext notification.