Exemple #1
0
 public function test__construct()
 {
     $this->if($php = new testedClass())->then->string($php->getBinaryPath())->isNotEmpty()->object($php->getAdapter())->isEqualTo(new atoum\adapter())->string($php->getStdout())->isEmpty()->string($php->getStderr())->isEmpty()->array($php->getOptions())->isEmpty()->array($php->getArguments())->isEmpty()->if($php = new testedClass($phpPath = uniqid(), $adapter = new atoum\adapter()))->then->string($php->getBinaryPath())->isEqualTo($phpPath)->object($php->getAdapter())->isIdenticalTo($adapter)->string($php->getStdout())->isEmpty()->string($php->getStderr())->isEmpty()->array($php->getOptions())->isEmpty()->array($php->getArguments())->isEmpty();
 }