public function testItCanBeCreatedFromThePatterns() { assertSame('"ClassName" is read only.', ReadOnlyException::fromClassName('ClassName')->getMessage()); }
/** * @param mixed $offset * * @throws ReadOnlyException */ public function offsetUnset($offset) { throw ReadOnlyException::fromClassName(__CLASS__); }