unclecheese/silverstripe-mock-dataobjects — pull request #8 by jonom (2014-12-09 01:36:00+00:00)
Title: Support $can_be_root=false

Fixes unclecheese/silverstripe-mock-dataobjects#7

Note: All I've done is make the setting of the ParentID happen earlier. I left the write() part where it was as I assume it needs to follow the fill() call.