Prosecutors built a better than expected case before resting Thursday in the trial of a former Rutgers University student accused of using a webcam to spy on a gay sexual encounter of his roommate who later committed suicide, legal experts say.