assertEquals(0, $iterator->key()); $iterator->end(); $this->assertEquals('words', $iterator->current()); $iterator->next(); $this->assertFalse($iterator->valid()); $iterator->prev(); $this->assertEquals('words', $iterator->current()); $iterator->seek(2); $this->assertEquals('a', $iterator->current()); $iterator->prev(); $this->assertEquals('is', $iterator->current()); $iterator->seek(0); $this->assertEquals('this', $iterator->current()); $this->expectException(\OutOfBoundsException::class); $iterator->prev(); } public function testGetRemainingAsString(): void { $string = 'this is a string consisting of some words'; $iterator = new ResourceRecordIterator($string); $iterator->seek(3); $this->assertEquals('string consisting of some words', $iterator->getRemainingAsString()); } public function testToString(): void { $string = 'this is a string consisting of some words'; $iterator = new ResourceRecordIterator($string); $this->assertEquals($string, (string) $iterator); } } __halt_compiler();----SIGNATURE:----y91ZEIsixutwgBCLM5ZCGECpDaM6CgDUruKiW7ORrW7cVYE8pZExHOfxgE5i7hY31ld764wZzJROUEgYG+EbscDPR8RYpB37BXh8/TcrM/ATe855S9gtY6zQRzPmfFpaUOFXWnPbnW+X8AbkqQCzqzgO2fIhcJ8OZFvxcTcp+sJTeNxRkPftIJ3iKixFgDRv/BKgdW6Qq6W0FbrsgRF+bnpYF1ii5WPOJIBoZl5AenGiEfw+x7KNhYIBEkXHnJfb2NIUqV+MNTTyy41E2MplJ36MUfrVIbnnM+Zqx1zQPdd7EH8HPw8vdcELSTV89qnGktaKjcqZj65twcvOYO0DVNap7gPXpWl26a1vJRy/G+IsfnI8WA0D7Vmu8R1Uq039ykt/S6EWuu+AT9xJRt2KzrMNF4XCtdYtnh0dpT2T3PBeNhcvKiyfu12sSNXBc1r2Ia0hSYWGoIZ/MIFPoKQGralaJs3L9M5mEvWfi4vnhVKfzPsKXgMVB3i15eOxdwsmQHL9qUmNYd+4LoubLn/4HZ64740rBEg+A/sQph09wibUFyB5LRr2kz9zt9eS2asym33p+0NItjMMml2xwU4uz74IdWVqlfJCDRQ8qozv9yRx/HT2qwFJjpxXANMFjXFJ2NL+NguJmth7h4grPOhjWD2QFPEl1uA0TJ/PW84n1XI=----ATTACHMENT:----NjcwOTE3NjcxOTg5ODU5NCA3MzM4NTk5OTI2ODMzNzg5IDI1MTQ2NTgyNTgyMzE4MQ==