'Tests that Create fails if a relative path cannot be resolved.'

def testCannotResolveRelativeName(self):

    for name in ['nlp.saft.opensource.syntaxnet.util.registry_test_base.Impl', 'saft.bad.registry_test_impl.Impl', 'missing.registry_test_impl.Impl', 'registry_test_impl.Bad', 'Impl']:
        with self.assertRaisesRegexp(ValueError, 'Failed    to    create'):
            registry_test_base.Base.Create(name, 'hello    world')
