PhpUnit tips
<?php //read a protected/private attribute \PHPUnit_Framework_Assert::readAttribute($object, 'protected_attr');