How to properly make use of the mimic functionality?

Hi ,all.

I am interested in how to make a joint A mimic another joint B 's behavior and I find a mimic property in urdf.

So the question is , what’s the requirements and steps to property setup a mimic joint in dart?

To make it easy, can anybody give an example of a 1 DOF revolute joint?