For some reason php unit's code coverage feature is skipping certain lines. I have played around with it a fair amount, and if I just echo ($hydrationData['partnerNames']);, coverage works just fine. I have tried running the tests with --verbose and --debug, but no information is emitted. I have tried this with PHPUnit versions 4.0 and 4.4.
if(isset($hydrationData['partnerNames'])) {
// this line will be marked as not covered
unset($hydrationData['partnerNames']);
// got here will be printed during unit test and this line marked as covered
echo('got here');
}
