public function testPublicMethodCall() { $this->expectOutputString('Method can be called from everywhere.'); $obj = new SimpleClass(); $obj->publicMethod(); }