'``Configuration.applications`` raises a
``ConfigurationError`` if the version specified is not 1.'

def test_error_on_incorrect_version(self):

    config = dict(applications={}, version=2)
    parser = FlockerConfiguration(config)
    exception = self.assertRaises(ConfigurationError, parser.applications)
    self.assertEqual(u'Application    configuration    has    an    error.    Incorrect    version    specified.', exception.message)
