setWithTest() public method

public setWithTest ( test $test )
$test mageekguy\atoum\test
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);
 }
Beispiel #2
0
 public function setWithTest(test $test)
 {
     parent::setWithTest($test);
     $function = $this->call->getFunction();
     if ($function !== null) {
         $this->setWith($function);
     }
     return $this;
 }