After eight days of testimony and 23 witnesses, the state rested its case Wednesday against a man accused of conspiring to kill and then murdering an Apex teenager nearly two years ago.