Check if Cors class already exists to prevent fatal error in test scenarios where app is instantiated more than once.
Check if Cors class already exists to prevent fatal error in test scenarios where app is instantiated more than once.

see https://github.com/laravel/lumen/blob/master/tests/TestCase.php

nordsoftware/lumen-cors