public function testDeletePollOption() { $this->startup(); $poll_option = new PollOption(); $poll_option->option = "some option"; $poll_option->pid = $this->poll->pid; $poll_option->save(); $poll_option->delete(); $this->notSeeInDatabase('poll_options', array('option' => 'some option')); }