Ejemplo n.º 1
0
 /**
  * Tests that captureReturnTo does it's thing
  */
 public function testCaptureReturnTo()
 {
     $this->binder->expects($this->once())->method('bindAnswer')->with($this->isInstanceOf('Phake_Stubber_Answers_ParentDelegate'))->will($this->returnValue($this->binder));
     $this->assertSame($this->binder, $this->proxy->captureReturnTo($var));
 }