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

public controlNextNewMock ( )
Пример #1
0
 public function testGet()
 {
     $this->variable(testedClass::get())->isNull()->if($mockController = new testedClass())->then->object($mockController->controlNextNewMock())->isIdenticalTo($mockController)->object(testedClass::get())->isIdenticalTo($mockController)->variable(testedClass::get())->isNull();
 }