I'm reading the documentation about unit testing and in the example there is a class caleed UnitTestCase. In that class the setUp method signature is as follows:
public function setUp(Phalcon\DiInterface $di = NULL, Phalcon\Config $config = NULL)
My question is: since PHPUnit will instantiate that class automatically, why is the setUp method expecting arguments? How and when would someone pass arguments to that method? I'm scratching my head around it.
Thanks!