mageekguy\atoum\test::getTestedClassNamespace PHP Method

getTestedClassNamespace() public method

    public function getTestedClassNamespace()
    {
        $testedClassName = $this->getTestedClassName();
        return substr($testedClassName, 0, strrpos($testedClassName, '\\'));
    }

Usage Example

Beispiel #1
0
 public function setWithTest(atoum\test $test)
 {
     if ($this->callIsSet()->adapter === null) {
         parent::setWith(clone php\mocker::getAdapter());
     }
     $this->setFunction($test->getTestedClassNamespace() . '\\' . $this->getFunction());
     return parent::setWithTest($test);
 }
All Usage Examples Of mageekguy\atoum\test::getTestedClassNamespace
test