- $this->testLocalPost();
- $this->testMentionUrl();
- $this->testSubscribe();
- $this->testPush();
- $this->testMentionSubscribee();
- $this->testUnsubscribe();
+ $methods = get_class_methods($this);
+ foreach ($methods as $method) {
+ if (strtolower(substr($method, 0, 4)) == 'test') {
+ print "\n";
+ print "== $method ==\n";
+ call_user_func(array($this, $method));
+ }
+ }