Example #1
0
 /**
  * getCurrentChunk() should return string if multi-byte content does exist
  */
 public function testGetCurrentChunk_returnsString_ifMbContentDoesExist()
 {
     $chunker = new File();
     $chunker->setSize(4);
     $chunker->setName($this->fileHasMbCharacters);
     // the file has two-byte + three-byte characters
     $this->assertEquals(self::cent(), $chunker->getCurrentChunk());
     return;
 }