Ejemplo n.º 1
0
 public function testCall()
 {
     $t = new \Test\Fcall();
     $this->assertSame($t->testCall1(), 0);
     $this->assertLessThan($t->testCall2(), -1);
     $this->assertSame($t->testCall1FromVar(), 2);
 }
Ejemplo n.º 2
0
 public function testCall()
 {
     $t = new \Test\Fcall();
     $this->assertTrue($t->testCall1() === 0);
     $this->assertTrue($t->testCall2() > -1);
     $this->assertTrue($t->testCall1FromVar() === 2);
 }