in reply to DBD::Mock and DBD-specific attributes
It looks to me like DBD::Mock, like most DBDs only stores lower-cased attributes that start with the driver's prefix, in this case mock_. So try mock_mysql_insert_id if you just want to try setting something, though it won't behave as it would under MySQL, I think you need MySQL for that (but I'm no DBD::Mock maven, just guessing).