public function test_store_failed()
{
$request = m::mock(StoreRequest::class);
$request->shouldReceive('all')->once()->andReturn([]);
$error = m::mock(RepositoryException::class);
$this->setExpectedException(RepositoryException::class);
App::instance(StoreRequest::class, $request);
$controller = App::make(ScheduleController::class);
$controller->store();
}