docs: function validateDoc(lines) {
    expect(lines.length).toBe(18);
  
    // First line should be overall comment with preamble
    expect(lines[0]).toBe('\t * Test object comment');
  
    // Second line should be a newline with preamble
    expect(lines[1]).toBe('\t * ');
  
    /* Third line should be first parameter definition with preamble, correct
     * type, objectName. parameter name and the description
     */
    expect(lines[2]).toBe('\t * @param {string} [objectName.string] Some '
        + 'string');
    
    // Fourth line should be an anything parameter
    expect(lines[3]).toBe('\t * @param {*} [objectName.any] Some '
        + 'variable that can be anything');
  
    // '\t * @param {number} objectName.requiredNumber Required number',
    // Long line should be wrapped
    expect(lines[5]).toBe('\t * @param {string} [objectName.defaultString='
        + '\'string\'] a string with a');
    
    // Line continuation should aligned with after the jsdoc word
    expect(lines[6]).toBe('\t *        default and a really long description');
    
    // Default values
    expect(lines[7]).toBe('\t * @param {number} [objectName.defaultNumber=34] '
        + 'a number with a default');
    expect(lines[8]).toBe('\t * @param {boolean} [objectName.'
        + 'defaultBoolean=true] a boolean with a');
    //'\t *        default',
  
    // Types
    expect(lines[11]).toBe('\t * @param {(string|number)} [objectName.types] '
        + 'a string or a number');
  
    // Array of strings
    expect(lines[12]).toBe('\t * @param {string[]} [objectName.arr]');
    
    // Object of numbers
    expect(lines[13]).toBe('\t * @param {number[]} [objectName.coord]');
    
    // Either Array of strings or an object of numbers
    expect(lines[14]).toBe('\t * @param {(string[]|number[])} '
        + '[objectName.arrcoord]');
    
    // A recursive schema variable
    expect(lines[15]).toBe('\t * @param {schema} [objectName.recurse] a '
        + 'recursive variable');
    
    // Forced type
    expect(lines[16]).toBe('\t * @param {potatoes} [objectName.forced] Some '
        + 'string with a forced type');
  }