getVersion() public method

Get version
public getVersion ( ) : string
return string
 public function testDefaultCommandVersion()
 {
     $this->assertAttributeEquals('1.0.0', 'version', $this->command_stub);
     $this->assertEquals('1.0.0', $this->command_stub->getVersion());
 }
 /**
  * Make sure the version number is in the format x.x.x, x.x or x
  */
 public function testVersionNumberFormat()
 {
     $this->assertRegExp('/^(\\d+\\.)?(\\d+\\.)?(\\d+)$/', $this->command->getVersion());
 }