Answer:
I'm so sorry if this doesn't help
They are very often called upon to testify in criminal cases when they made the arrest, or observed some facts relevant to the case. Most of the time, police are paid for court appearances. no some time police did not show up on court date then judge dismiss your ticket.