Rx\Functional\Operator\SelectTest::select_calls_on_error PHP Метод

select_calls_on_error() публичный Метод

    public function select_calls_on_error()
    {
        $xs = $this->createHotObservable([onError(500, new Exception())]);
        $results = $this->scheduler->startWithCreate(function () use($xs) {
            return $xs->select('RxIdentity');
        });
        $this->assertMessages([onError(500, new Exception())], $results->getMessages());
    }