Just FYI, the mock objects should allow you to use `category.id`