Pantheon\Terminus\UnitTests\Commands\Auth\AuthTest::setUp PHP Method

setUp() public method

public setUp ( )
    public function setUp()
    {
        parent::setUp();
        $this->session = $this->getMockBuilder(Session::class)->disableOriginalConstructor()->getMock();
    }

Usage Example

 /**
  * @inheritdoc
  */
 public function setUp()
 {
     parent::setUp();
     $this->command = new LogoutCommand();
     $this->command->setConfig($this->config);
     $this->command->setLogger($this->logger);
     $this->command->setSession($this->session);
 }
All Usage Examples Of Pantheon\Terminus\UnitTests\Commands\Auth\AuthTest::setUp
AuthTest