public function test_update_failed()
{
$request = m::mock(UpdateRequest::class);
$request->shouldReceive('all')->once()->andReturn([]);
$this->setExpectedException(RepositoryException::class);
App::instance(UpdateRequest::class, $request);
$controller = App::make(StudentController::class);
$service = App::make(StudentService::class);
$controller->update($request, $service, 1);
}