'Tests that Create fails on malformed type names.'

def testCannotCreateMalformedType(self):

    with self.assertRaisesRegexp(ValueError, 'Failed    to    create'):
        registry_test_base.Base.Create('oneword', 'hello    world')
    with self.assertRaisesRegexp(ValueError, 'Failed    to    create'):
        registry_test_base.Base.Create('hyphen-ated', 'hello    world')
    with self.assertRaisesRegexp(ValueError, 'Failed    to    create'):
        registry_test_base.Base.Create('has    space', 'hello    world')
    with self.assertRaisesRegexp(ValueError, 'Failed    to    create'):
        registry_test_base.Base.Create('    ', 'hello    world')
    with self.assertRaisesRegexp(ValueError, 'Failed    to    create'):
        registry_test_base.Base.Create('', 'hello    world')
