mageekguy\atoum\tests\units\scripts\git\pusher::testSetTagFile PHP Method

testSetTagFile() public method

public testSetTagFile ( )
    public function testSetTagFile()
    {
        $this->if($pusher = new testedClass(__FILE__))->then->object($pusher->setTagFile($tagFile = uniqid()))->isIdenticalTo($pusher)->string($pusher->getTagFile())->isEqualTo($tagFile)->object($pusher->setTagFile())->isIdenticalTo($pusher)->string($pusher->getTagFile())->isEqualTo(__DIR__ . DIRECTORY_SEPARATOR . testedClass::defaultTagFile);
    }