private function resetErrorsExpectations() { $this->error_expected = false; $this->exception_expected = false; }