'Test changing JID of the form \'user@server/resource/with/slashes\''

def testJIDchange(self):

    j = JID(u'user1@someserver1/some1/resource1')
    j.user = u'user'
    j.domain = u'someserver'
    j.resource = u'some/resource'
    self.check_jid(j, u'user', u'someserver', u'some/resource', u'user@someserver', u'user@someserver/some/resource', u'user@someserver/some/resource')
