Replace getInfo() in tests with native phpDoc

After https://www.drupal.org/node/2301125