function testSetMultipleTemplatesVersionMismatch() {
  var baseQuestionnaire = {'questionnaire': QUESTIONNAIRE, 'version': 3};
  var extension = {'extensions': null, 'version': 4};

  var q = new vsaq.Questionnaire(root);

  assertThrows(
      function() {q.setMultipleTemplates(baseQuestionnaire, extension)});
}
/**
 * Tests that an exception is thrown, if multiple templates, having different
 * versions, are set.
 */
Tests that an exception is thrown, if multiple templates, having different
versions, are set.
Tests that an exception is thrown if multiple templates having different versions are set .
function testSetMultipleTemplatesVersionMismatch() {
  var baseQuestionnaire = {'questionnaire': QUESTIONNAIRE, 'version': 3};
  var extension = {'extensions': null, 'version': 4};
  var q = new vsaq.Questionnaire(root);
  assertThrows(
      function() {q.setMultipleTemplates(baseQuestionnaire, extension)});
}
function testSetMultipleTemplatesVersionMismatch ( ) { var baseQuestionnaire = { 'questionnaire' : QUESTIONNAIRE , 'version' : 3 } ; var extension = { 'extensions' : null , 'version' : 4 } ; var q = new vsaq . Questionnaire ( root ) ; assertThrows ( function ( ) { q . setMultipleTemplates ( baseQuestionnaire , extension ) } ) ; }
Tests that an exception is thrown, if multiple templates, having different
 versions, are set.
Tests that an exception is thrown if multiple templates having different versions are set .