We have some custom object that has lookups to itself. Those objects used for some configs and there are quite a lot of them. Would be nice to create and load them from static resource for tests as well as import to another orgs.
I tried to use this approach Test.loadData() - undocumented (but useful) behavior loading relationships but looks like it's not possible to insert objects with lookups to itself.
That topic is quite outdated maybe there is some new solution?