Fixtures: how create relation between fixtures?

Hi.

  1. How can I create a parent-child fixture relation?

The models have ‘parent_id’, but I do not know how I can attach the fixture.

  1. How can I create belongs-to fixture relation?

Like between the category and product models?