public function testLastIndexOf() { $this->assertSame(3, $this->seq->lastIndexOf(0)); $this->assertSame(1, $this->seq->lastIndexOf($this->a)); $this->assertSame(2, $this->seq->lastIndexOf($this->b)); $this->assertSame(-1, $this->seq->lastIndexOf(1)); }