mageekguy\atoum\tests\units\test::testSetPhpFunktionMocker PHP Method

testSetPhpFunktionMocker() public method

    public function testSetPhpFunktionMocker()
    {
        $this->if($test = new emptyTest())->then->object($test->setPhpFunctionMocker($phpFunctionMocker = new atoum\php\mocker\funktion()))->isIdenticalTo($test)->object($test->getPhpFunctionMocker())->isIdenticalTo($phpFunctionMocker)->object($test->setPhpFunctionMocker())->isIdenticalTo($test)->object($test->getPhpFunctionMocker())->isNotIdenticalTo($phpFunctionMocker)->isInstanceOf('mageekguy\\atoum\\php\\mocker\\funktion');
    }