public function sum_number_throw()
{
$xs = $this->createHotObservable([onNext(150, 1), onError(210, new \Exception())]);
$results = $this->scheduler->startWithCreate(function () use($xs) {
return $xs->sum();
});
$this->assertMessages([onError(210, new \Exception())], $results->getMessages());
}