Exemplo n.º 1
0
 public function testLastIndexOf()
 {
     // Remove the following lines when you implement this test.
     $this->object->add(5);
     $this->object->add(5);
     $this->assertTrue($this->object->indexOf(5) == 5);
     $this->assertTrue($this->object->lastIndexOf(5) == 11);
 }
Exemplo n.º 2
0
 public function lastIndexOf($value)
 {
     $this->validTypeThrow($value);
     return parent::lastIndexOf($value);
 }