mageekguy\atoum\scripts\tagger\engine::getVersion PHP Method

getVersion() public method

public getVersion ( )
    public function getVersion()
    {
        return $this->version;
    }

Usage Example

Beispiel #1
0
 public function test__construct()
 {
     $tagger = new tagger\engine();
     $this->assert->variable($tagger->getSrcDirectory())->isNull()->variable($tagger->getDestinationDirectory())->isNull()->variable($tagger->getVersion())->isNull()->string($tagger->getVersionPattern())->isEqualTo(\mageekguy\atoum\scripts\tagger\engine::defaultVersionPattern)->object($tagger->getAdapter())->isInstanceOf('mageekguy\\atoum\\adapter');
     $tagger = new tagger\engine($adapter = new atoum\adapter());
     $this->assert->variable($tagger->getSrcDirectory())->isNull()->variable($tagger->getDestinationDirectory())->isNull()->variable($tagger->getVersion())->isNull()->string($tagger->getVersionPattern())->isEqualTo(\mageekguy\atoum\scripts\tagger\engine::defaultVersionPattern)->object($tagger->getAdapter())->isIdenticalTo($adapter);
 }