Yes, learning by trying and doing is the root of coding
In chapter 7, you saw that model tests extend TestCase. Controller tests extend IntegrationTestCase. Using this as base classes will simulate get, post calls, and check for response objects.
Overview of the Baked Controller
Take a look at the /src/Controllers/PostsController.php file that we generated by bake earlier.
2 namespace App\Controller;
All controllers share the same namespace, which is App\Controller.
4 use App\Controller\AppController; ...