/**
  * Tests the JApplicationCli::close method.
  *
  * @return  void
  *
  * @since   11.3
  */
 public function testClose()
 {
     // Make sure the application is not already closed.
     $this->assertSame($this->class->closed, null, 'Checks the application doesn\'t start closed.');
     $this->class->close(3);
     // Make sure the application is closed with code 3.
     $this->assertSame($this->class->closed, 3, 'Checks the application was closed with exit code 3.');
 }
 /**
  * Tests the JApplicationCli::close method.
  *
  * @return  void
  *
  * @since   11.3
  */
 public function testClose()
 {
     // Make sure the application is not already closed.
     $this->assertSame($this->class->closed, null);
     $this->class->close(3);
     // Make sure the application is closed with code 3.
     $this->assertSame($this->class->closed, 3);
 }