public function apiShouldReturnError($times = 1) { return $this->apiShouldReturn($this->createErrorApiResponse(), $times); }