Prosecution rests in Hoffman trial