Issue #697760 by sun: Replace getInfo() in tests with native phpDoc + annotations (following PHPUnit).
Merge remote-tracking branch 'origin/8.x' into mink-testing-2232861-larowlan

Conflicts:
	core/modules/system/src/Tests/Form/FormTest.php
	core/modules/system/src/Tests/Session/SessionHttpsTest.php