What happens at the injunction hearing?

At the injunction hearing, the court will listen to witness testimony and look at other evidence to determine whether an injunction should be entered and if so, how long should that injunction last.