'If no config file exists, a new one is written with the UUID.'

def test_no_config_written(self):

    path = FilePath(self.mktemp())
    service = VolumeService(path, FilesystemStoragePool(FilePath(self.mktemp())), reactor=Clock())
    service.startService()
    config = json.loads(path.getContent())
    self.assertEqual({u'uuid': service.node_id, u'version': 1}, config)
