A murder trial is taking place in court.