Пример #1
0
 function testDisableCheckingForEntireMock()
 {
     Mockster::stub($this->foo->returnsDateTime())->will()->return_(null);
     $this->foo->enableReturnTypeChecking(false);
     Mockster::stub($this->foo->returnsString())->will()->return_(null);
     $this->mock->returnsString();
     $this->mock->returnsDateTime();
     $this->pass();
 }