예제 #1
0
 function testMethodInterference()
 {
     $mock = new MockDummy();
     $mock->setReturnValueAt(0, "anotherMethod", "aaa");
     $mock->setReturnValue("aMethod", "AAA");
     $this->assertIdentical($mock->aMethod(), "AAA");
     $this->assertIdentical($mock->anotherMethod(), "aaa");
 }