public function testMacrosCantConflictBetweenTypes() { String::extend('foobar', function () { return 'string'; }); Arrays::extend('foobar', function () { return 'arrays'; }); $this->assertEquals('string', String::foobar()); $this->assertEquals('arrays', Arrays::foobar()); }