protected function check_current_state($state) { $this->assertEquals($state, $this->quba->get_question_state($this->slot), 'Questions is in the wrong state.'); }