'``DatasetServiceFactory.get_service`` raises an ``IOError`` if the
given configuration file does not exist.'

def test_missing_configuration_file(self):

    options = DatasetAgentOptions()
    options.parseOptions(['--agent-config', self.make_temporary_path().path])
    self.assertRaises(IOError, DatasetServiceFactory().get_service, MemoryCoreReactor(), options)
