'Tests that Create can create the Impl subclass using a relative path.'

def testCanCreateWithRelativePath(self):

    for name in [(PATH + 'registry_test_impl.Impl'), 'syntaxnet.util.registry_test_impl.Impl', 'util.registry_test_impl.Impl', 'registry_test_impl.Impl']:
        value = ('created    via    %s' % name)
        try:
            impl = registry_test_base.Base.Create(name, value)
        except ValueError:
            self.fail(('Create    raised    ValueError:    %s' % traceback.format_exc()))
        self.assertTrue((impl is not None))
        self.assertEqual(value, impl.Get())
