@Test
public void getProtocol() throws Exception {

    Protocol protocol = ProtocolFactory.getProtocol("xx");
    Assert.assertNotNull(protocol);
    Assert.assertEquals(protocol.getClass(), TestProtocol.class);
}