/** * @covers Patchwork\PHP\Override\Intl::grapheme_extract */ function testGrapheme_extract_todo() { $this->assertSame('a', grapheme_extract('abc', 1, GRAPHEME_EXTR_MAXBYTES)); try { $this->assertSame('a', p::grapheme_extract('abc', 1, GRAPHEME_EXTR_MAXBYTES)); $this->assertFalse(true, "As the current implementation is incomplete, this point should not be reached currently."); } catch (\PHPUnit_Framework_Error_Warning $e) { $this->markTestIncomplete("The current implementation doesn't handle unaligned binary offsets nor modes other than GRAPHEME_EXTR_COUNT."); } }