public function seeFormHasErrors() { $viewErrorBag = $this->app->make('view')->shared('errors'); $this->assertTrue(count($viewErrorBag) > 0); }