Function getInfo in classes inheriting from test classes of Drupal should be declared static.