setUp() public method

public setUp ( )
 /**
  * @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);
 }
 /**
  * @inheritdoc
  */
 public function setUp()
 {
     parent::setUp();
     $this->token = $this->getMockBuilder(SavedToken::class)->disableOriginalConstructor()->getMock();
     $this->token->expects($this->any())->method('session')->willReturn($this->session);
     $this->tokens = $this->getMockBuilder(SavedTokens::class)->disableOriginalConstructor()->getMock();
     $this->session->expects($this->any())->method('getTokens')->willReturn($this->tokens);
     $this->command = new LoginCommand();
     $this->command->setConfig($this->config);
     $this->command->setLogger($this->logger);
     $this->command->setSession($this->session);
 }