Source

						public function testReadUnreadable() {
		$message = 'Permissions cannot be modified on Windows.';
		$this->skipIf(strtoupper(substr(PHP_OS, 0, 3)) === 'WIN', $message);

		$data = array(
			'singular 1' => array(
				'id' => 'singular 1',
				'ids' => array('singular' => 'singular 1', 'plural' => 'plural 1'),
				'flags' => array('fuzzy' => true),
				'translated' => array(),
				'occurrences' => array(
					array('file' => 'test.php', 'line' => 1)
				),
				'comments' => array(
					'comment 1'
				)
			)
		);

		$this->adapter->mo = false;
		$this->adapter->write('messageTemplate', 'root', null, $data);
		chmod("{$this->_path}/message_default.pot", 0222);
		$this->adapter->mo = true;

		$result = $this->adapter->read('messageTemplate', 'root', null);
		$this->assertNull($result);
	}