PHP Design patterns with PHPUnit