it('shoud match CData', function(){
		var m = wechat.matchCData('<Key><![CDATA[value]]></Key>')
		expect(m[1]).toEqual('Key')
		expect(m[2]).toEqual('value')

		var m = wechat.matchCData('<FromUserName><![CDATA[oaNqBt2pCid3HnUUcbFcB2zeOtPQ]]></FromUserName>')
		expect(m[1]).toEqual('FromUserName')
		expect(m[2]).toEqual('oaNqBt2pCid3HnUUcbFcB2zeOtPQ')

		//<MsgType><![CDATA[text]]></MsgType>
		var m = wechat.matchCData('<MsgType><![CDATA[text]]></MsgType>')
		expect(m[1]).toEqual('MsgType')
		expect(m[2]).toEqual('text')

		//<ToUserName><![CDATA[gh_025385b4906c]]></ToUserName>
		var m = wechat.matchCData('<ToUserName><![CDATA[gh_025385b4906c]]></ToUserName>')
		expect(m[1]).toEqual('ToUserName')
		expect(m[2]).toEqual('gh_025385b4906c')

		//<Content><![CDATA[P]]></Content>
		var m = wechat.matchCData('<Content><![CDATA[P]]></Content>')
		expect(m[1]).toEqual('Content')
		expect(m[2]).toEqual('P')
	})
	it('should match nothing', function(){
		var m = wechat.matchCData('<xml></xml>')
	})