'Test setting the bare JID without a user.'

def testJIDBareNoUser(self):

    j = JID(u'user@domain/resource')
    j.bare = u'otherdomain'
    self.check_jid(j, u'', u'otherdomain', u'resource', u'otherdomain', u'otherdomain/resource', u'otherdomain/resource')
