<noscript><divid="noscript"role="alert"class="nonworking alert alert-warning"><spanclass="glyphicon glyphicon-exclamation-sign"aria-hidden="true"></span><?phpechoI18n::_('Javascript is required for PrivateBin to work.<br />Sorry for the inconvenience.');?></div></noscript>
<divid="oldienotice"role="alert"class="hidden nonworking alert alert-danger"><spanclass="glyphicon glyphicon-alert"aria-hidden="true"></span><?phpechoI18n::_('PrivateBin requires a modern browser to work.');?></div>
<divid="ienotice"role="alert"class="hidden alert alert-warning"><spanclass="glyphicon glyphicon-question-sign"aria-hidden="true"></span><?phpechoI18n::_('Still using Internet Explorer? Do yourself a favor, switch to a modern browser:'); ?>
<divid="ienotice"role="alert"class="hidden alert alert-warning"><spanclass="glyphicon glyphicon-question-sign"aria-hidden="true"></span><?phpechoI18n::_('Still using Internet Explorer? Do yourself a favor, switch to a modern browser:'), PHP_EOL; ?>
<?phpechoI18n::_('PrivateBin is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted <i>in the browser</i> using 256 bits AES. More information on the <a href="https://github.com/PrivateBin/PrivateBin/wiki">project page</a>.'); ?>
<?phpechoI18n::_('PrivateBin is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted <i>in the browser</i> using 256 bits AES. More information on the <a href="https://github.com/PrivateBin/PrivateBin/wiki">project page</a>.'), PHP_EOL; ?>
<noscript><divid="noscript"role="alert"class="nonworking alert alert-error"><spanclass="glyphicon glyphicon-exclamation-sign"aria-hidden="true"></span><?phpechoI18n::_('Javascript is required for PrivateBin to work.<br />Sorry for the inconvenience.');?></div></noscript>
<divid="oldienotice"role="alert"class="hidden nonworking alert alert-danger"><spanclass="glyphicon glyphicon-alert"aria-hidden="true"></span><?phpechoI18n::_('PrivateBin requires a modern browser to work.');?></div>
<divid="ienotice"role="alert"class="hidden alert alert-error"><spanclass="glyphicon glyphicon-question-sign"aria-hidden="true"></span><?phpechoI18n::_('Still using Internet Explorer? Do yourself a favor, switch to a modern browser:'); ?>
<divid="ienotice"role="alert"class="hidden alert alert-error"><spanclass="glyphicon glyphicon-question-sign"aria-hidden="true"></span><?phpechoI18n::_('Still using Internet Explorer? Do yourself a favor, switch to a modern browser:'), PHP_EOL; ?>
<?phpechoI18n::_('PrivateBin is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted <i>in the browser</i> using 256 bits AES. More information on the <a href="https://github.com/PrivateBin/PrivateBin/wiki">project page</a>.'); ?>
<?phpechoI18n::_('PrivateBin is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted <i>in the browser</i> using 256 bits AES. More information on the <a href="https://github.com/PrivateBin/PrivateBin/wiki">project page</a>.'), PHP_EOL; ?>
<noscript><divid="noscript"role="alert"class="nonworking alert alert-error"><spanclass="glyphicon glyphicon-exclamation-sign"aria-hidden="true"></span><?phpechoI18n::_('Javascript is required for PrivateBin to work.<br />Sorry for the inconvenience.');?></div></noscript>
<divid="oldienotice"role="alert"class="hidden nonworking alert alert-danger"><spanclass="glyphicon glyphicon-alert"aria-hidden="true"></span><?phpechoI18n::_('PrivateBin requires a modern browser to work.');?></div>
<divid="ienotice"role="alert"class="hidden alert alert-error"><spanclass="glyphicon glyphicon-question-sign"aria-hidden="true"></span><?phpechoI18n::_('Still using Internet Explorer? Do yourself a favor, switch to a modern browser:'); ?>
<divid="ienotice"role="alert"class="hidden alert alert-error"><spanclass="glyphicon glyphicon-question-sign"aria-hidden="true"></span><?phpechoI18n::_('Still using Internet Explorer? Do yourself a favor, switch to a modern browser:'), PHP_EOL; ?>
<?phpechoI18n::_('PrivateBin is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted <i>in the browser</i> using 256 bits AES. More information on the <a href="https://github.com/PrivateBin/PrivateBin/wiki">project page</a>.'); ?>
<?phpechoI18n::_('PrivateBin is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted <i>in the browser</i> using 256 bits AES. More information on the <a href="https://github.com/PrivateBin/PrivateBin/wiki">project page</a>.'), PHP_EOL; ?>
<noscript><divid="noscript"role="alert"class="nonworking alert alert-warning"><spanclass="glyphicon glyphicon-exclamation-sign"aria-hidden="true"></span><?phpechoI18n::_('Javascript is required for PrivateBin to work.<br />Sorry for the inconvenience.');?></div></noscript>
<divid="oldienotice"role="alert"class="hidden nonworking alert alert-danger"><spanclass="glyphicon glyphicon-alert"aria-hidden="true"></span><?phpechoI18n::_('PrivateBin requires a modern browser to work.');?></div>
<divid="ienotice"role="alert"class="hidden alert alert-warning"><spanclass="glyphicon glyphicon-question-sign"aria-hidden="true"></span><?phpechoI18n::_('Still using Internet Explorer? Do yourself a favor, switch to a modern browser:'); ?>
<divid="ienotice"role="alert"class="hidden alert alert-warning"><spanclass="glyphicon glyphicon-question-sign"aria-hidden="true"></span><?phpechoI18n::_('Still using Internet Explorer? Do yourself a favor, switch to a modern browser:'), PHP_EOL; ?>
<?phpechoI18n::_('PrivateBin is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted <i>in the browser</i> using 256 bits AES. More information on the <a href="https://github.com/PrivateBin/PrivateBin/wiki">project page</a>.'); ?>
<?phpechoI18n::_('PrivateBin is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted <i>in the browser</i> using 256 bits AES. More information on the <a href="https://github.com/PrivateBin/PrivateBin/wiki">project page</a>.'), PHP_EOL; ?>
<noscript><divid="noscript"role="alert"class="nonworking alert alert-warning"><spanclass="glyphicon glyphicon-exclamation-sign"aria-hidden="true"></span><?phpechoI18n::_('Javascript is required for PrivateBin to work.<br />Sorry for the inconvenience.');?></div></noscript>
<divid="oldienotice"role="alert"class="hidden nonworking alert alert-danger"><spanclass="glyphicon glyphicon-alert"aria-hidden="true"></span><?phpechoI18n::_('PrivateBin requires a modern browser to work.');?></div>
<divid="ienotice"role="alert"class="hidden alert alert-warning"><spanclass="glyphicon glyphicon-question-sign"aria-hidden="true"></span><?phpechoI18n::_('Still using Internet Explorer? Do yourself a favor, switch to a modern browser:'); ?>
<divid="ienotice"role="alert"class="hidden alert alert-warning"><spanclass="glyphicon glyphicon-question-sign"aria-hidden="true"></span><?phpechoI18n::_('Still using Internet Explorer? Do yourself a favor, switch to a modern browser:'), PHP_EOL; ?>
<?phpechoI18n::_('PrivateBin is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted <i>in the browser</i> using 256 bits AES. More information on the <a href="https://github.com/PrivateBin/PrivateBin/wiki">project page</a>.'); ?>
<?phpechoI18n::_('PrivateBin is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted <i>in the browser</i> using 256 bits AES. More information on the <a href="https://github.com/PrivateBin/PrivateBin/wiki">project page</a>.'), PHP_EOL; ?>
<noscript><divid="noscript"class="nonworking"><?phpechoI18n::_('Javascript is required for PrivateBin to work.<br />Sorry for the inconvenience.');?></div></noscript>
<divid="oldienotice"class="nonworking"><?phpechoI18n::_('PrivateBin requires a modern browser to work.');?></div>
<divid="ienotice"><?phpechoI18n::_('Still using Internet Explorer? Do yourself a favor, switch to a modern browser:'); ?>
<divid="ienotice"><?phpechoI18n::_('Still using Internet Explorer? Do yourself a favor, switch to a modern browser:'), PHP_EOL; ?>
$this->assertFalse($this->_model->exists(Helper::getPasteId()), 'paste does not yet exist');
$this->assertTrue($this->_model->create(Helper::getPasteId(), Helper::getPaste()) === true, 'store new paste');
$this->assertTrue($this->_model->create(Helper::getPasteId(), Helper::getPaste()), 'store new paste');
$this->assertTrue($this->_model->exists(Helper::getPasteId()), 'paste exists after storing it');
$this->assertFalse($this->_model->existsComment(Helper::getPasteId(), Helper::getPasteId(), Helper::getCommentId()), 'comment does not yet exist');
$this->assertFalse($this->_model->createComment(Helper::getPasteId(), Helper::getPasteId(), Helper::getCommentId(), $comment), 'unable to store broken comment');