/**
  * @group core
  */
 public function testActionsExplicitlySetForNotInheritedModule()
 {
     \Codeception\Module\PhpSiteHelper::$onlyActions = array('see');
     $modules = array('PhpSiteHelper' => new \Codeception\Module\PhpSiteHelper());
     $actions = \Codeception\Configuration::actions($modules);
     $this->assertArrayNotHasKey('amOnPage', $actions);
     $this->assertArrayHasKey('see', $actions);
 }
 protected function tearDown()
 {
     \Codeception\Module\PhpSiteHelper::$includeInheritedActions = true;
     \Codeception\Module\PhpSiteHelper::$onlyActions = array();
     \Codeception\Module\PhpSiteHelper::$excludeActions = array();
 }
 /**
  * @group core
  */
 public function testActionsExplicitlySetForNotInheritedModule()
 {
     \Codeception\Module\PhpSiteHelper::$onlyActions = ['see'];
     $this->moduleContainer->create('\\Codeception\\Module\\PhpSiteHelper');
     $actions = $this->moduleContainer->getActions();
     $this->assertArrayNotHasKey('amOnPage', $actions);
     $this->assertArrayHasKey('see', $actions);
 }