/** * @return void */ public function testAfterLoad() { $this->eventManager->expects($this->at(0))->method('dispatch')->with('model_load_after', ['object' => $this->model]); $this->eventManager->expects($this->at(1))->method('dispatch')->with('config_data_load_after', ['data_object' => $this->model, 'config_data' => $this->model]); $this->model->afterLoad(); }