/**
  * @testdox  Verify that the initialized model is registered to the DI container
  *
  * @covers   Joomla\Status\Controller\DefaultController::initializeModel
  */
 public function testVerifyThatTheInitializedModelIsRegisteredToTheContainer()
 {
     TestHelper::invoke($this->object, 'initializeModel');
     $this->assertInstanceOf('\\Joomla\\Status\\Model\\DefaultModel', $this->object->getContainer()->get('Joomla\\Model\\ModelInterface'));
 }
 /**
  * Method to initialize the model object
  *
  * @return  void
  *
  * @since   1.0
  * @throws  \RuntimeException
  */
 protected function initializeModel()
 {
     $this->modelState = new Registry();
     $this->modelState->set('package.name', $this->getInput()->getString('package'));
     parent::initializeModel();
 }