I build an Artisan Command to receive data from a socket, and I want to write a unit-testing for this command but I'm not sure how to write such a test.
Anyone an idea how to write it?
question from:https://stackoverflow.com/questions/33611788/how-to-test-artisan-commands-in-laravel-5