mageekguy\atoum\tests\units\scripts\git\pusher::testSetGit PHP Метод

testSetGit() публичный Метод

public testSetGit ( )
    public function testSetGit()
    {
        $this->if($pusher = new testedClass(__FILE__))->then->object($pusher->setGit($git = new commands\git()))->isIdenticalTo($pusher)->object($pusher->getGit())->isIdenticalTo($git)->object($pusher->setGit())->isIdenticalTo($pusher)->object($pusher->getGit())->isNotIdenticalTo($git)->isEqualTo(new commands\git());
    }