Refactor Illuminate\Foundation\Application\TestCase to AssertionTrait and ApplicationTrait

This allow easier testing support for developer wanting to use testing facility other than PHPUnit such as Behat or etc.

Signed-off-by: crynobone <crynobone@gmail.com>
Add failing test

Signed-off-by: Daniel Bøndergaard <danielboendergaard@gmail.com>
Fix nested route group namespaces

Signed-off-by: Daniel Bøndergaard <danielboendergaard@gmail.com>
Throw an exception if a package is created without setting the author's email
Return trashed models with morphTo() if told so on non-eager queries (fixes #4870)
Fix logic around marking services resolved or not

If you app->extend an object after it's been bound but before it's
been resolved, it will be initialized right away. The solution is
to just check if an object has actually been resolved rather than
if it's bound.

A related issue that can also be solved as a part of this is that
you can't extend deferred services. This has also been fixed.
tests for 3841d39
Added another missing throws annotation
Move array_* helpers function to Arr class
Use array_pull for session pull
Use pull for session initializeLocalBag
Better describe fundation testing calls
Update Route.php
Update Route.php
Merge pull request #5125 from lucasmichot/4.2-foundation-testing

[4.2] Foundation : better describe testing calls
Merge pull request #5132 from gayanhewa/patch-1

Ignore white spaces when adding multiple filters to routes
Merge pull request #5117 from lucasmichot/4.2-session-pull

[4.2] Session : use array_pull for session pull
Allow where clauses to be passed in action array.
Change order of methods.
Properly support Route 'where' constraints on a Route group.