Issue #697760 by sun: Replace getInfo() in tests with native phpDoc + annotations (following PHPUnit).