protected function AddRoleUserTest::setUp

File

drupal/core/modules/user/tests/Drupal/user/Tests/Plugin/Action/AddRoleUserTest.php, line 38
Contains \Drupal\user\Tests\Plugin\Action\AddRoleUserTest.

Class

AddRoleUserTest
Tests the role add plugin.

Namespace

Drupal\user\Tests\Plugin\Action

Code

protected function setUp() {
  parent::setUp();
  $this->account = $this
    ->getMockBuilder('Drupal\\user\\Plugin\\Core\\Entity\\User')
    ->disableOriginalConstructor()
    ->getMock();
}