Assert.assertNotNull("the session ID is null", service1.getSessionId());
Assert.assertEquals("message body is not the same length", subMsgRequest.getDataLength(), subMsgResponse.getDataLength());
Assert.assertEquals("compression is not the same", subMsgRequest.isCompressed(), subMsgResponse.isCompressed());
Assert.assertTrue("is not subscribed", service1.isSubscribed());
subMsgResponse = service2.subscribe(subMsgRequest, cbk2);
Assert.assertNotNull("the session ID is null", service2.getSessionId());
Assert.assertEquals("message body is not the same length", subMsgRequest.getDataLength(), subMsgResponse.getDataLength());
Assert.assertEquals("compression is not the same", subMsgRequest.isCompressed(), subMsgResponse.isCompressed());
Assert.assertTrue("is not subscribed", service2.isSubscribed());