Matthias\SymfonyConsoleForm\Tests\Helper\ApplicationTester::getStatusCode PHP Method

getStatusCode() public method

public getStatusCode ( ) : integer
return integer
    public function getStatusCode()
    {
        return $this->statusCode;
    }

Usage Example

 /**
  * @Then /^the command was not successful$/
  */
 public function theCommandWasNotSuccessful()
 {
     Assertion::notSame($this->tester->getStatusCode(), 0);
 }