Closed mbabker closed 9 years ago
This looks good to me
@wilsonge Merge if you're good with this. After your changes in #47 there's nothing left in the web test case that's actually altering $_SERVER
now; everything is fully mocked and injected.
Restructure's
AbstractApplicationTest
,AbstractCliApplicationTest
, andAbstractWebApplicationTest
to use the PHPUnit API for mocking objects (concrete and abstract) and our own API for injecting objects versus using our Reflection based TestHelper to manipulate the class variables. Also uses PHPUnit's assertions to test the objects as appropriate and deal with instances where we need to adjust values in superglobals.