예제 #1
0
 /**
  * @test
  */
 public function objectParamCastOoParam()
 {
     $t = new Mcall();
     $this->assertNumberOfParameters(1);
     $this->assertNumberOfRequiredParameters(1);
     $this->assertSame('Test\\Oo\\Param', $this->getMethodFirstParameter()->getClass()->getName());
     $this->assertInstanceOf('Test\\Oo\\Param', $t->objectParamCastOoParam(new \Test\Oo\Param()));
 }