public function testMagicCall() { $safe = new SafeDecorator(new TestClass2()); $this->assertEquals('ok', $safe->doSomething(), '->__call() invokes the embedded method'); }