    @Test
    public void canCreateHECTransport() throws AgentConfigurationException
    {

        AbstractSplunkInternalHandler internalHandler = new DummySplunkInternalHandler();
        internalHandler.setToken("testToken");
        internalHandler.setHost("127.0.0.1");
        internalHandler.setPort(8089);
        internalHandler.setScheme("https");
        internalHandler.setSslSecurityProtocol("TLSv1_2");
        internalHandler.setSplunkIndexName("main");
        internalHandler.setSplunkSource("mule");
        internalHandler.setSplunkSourceType("mule");
        internalHandler.setAcceptAnyCertificate(true);

        Transport transport = new DefaultTransportFactory(internalHandler).create();

        Assert.isInstanceOf(HECTransport.class, transport);
    }