I\'m following along with this blog to create unit tests that use my data fixtures as a base. The relevant code:
namespace Tests\\AppBundle\\Repository; use Sy
Your problem is that you are using the wrong Application class for this.
Have a look at your bin/console php file. github link
Change:
use Symfony\Component\Console\Application;
to
use Symfony\Bundle\FrameworkBundle\Console\Application;