Simpletest will show a warning, or even an error.

This is the warning:
<code>call_user_func() expects parameter 1 to be a valid callback, non-static method getInfo() should not be called statically'.</code>