       secured: true
       primary: true
       cert: fs.readFileSync 'test/resources/server-tls/cert.pem'
+    ]
+  channel6 = new Channel
+    name: 'MLLPIntegrationChannel1'
+    urlPattern: '/'
+    allow: [ 'tcp' ]
+    type: 'tcp'
+    tcpPort: 4005
+    tcpHost: 'localhost'
+    routes: [
+      name: 'mllp route'
+      host: 'localhost'
+      port: 6004
+      type: 'mllp'
+      primary: true
     ]
 
   secureClient = new Client

            mockTLSServer = server
            testUtils.createMockTLSServerWithMutualAuth 6003, testMessage, 'TLS OK', 'TLS Not OK', false, (server) ->
              mockTLSServerWithoutClientCert = server
              done()

  beforeEach (done) -> Transaction.remove {}, done

  after (done) ->
    Channel.remove {}, -> Transaction.remove {}, -> Client.remove {}, ->
      mockTCPServer.close -> mockHTTPServer.close -> mockTLSServer.close -> mockTLSServerWithoutClientCert.close done

  afterEach (done) -> server.stop done





describe "TCP/TLS/MLLP Integration Tests", ->
  testMessage = "This is an awesome test message!"
  mockTCPServer = null
  mockHTTPServer = null
  mockTLSServer = null
  mockTLSServerWithoutClientCert = null
  mockMLLPServer = null

  channel1 = new Channel
    name: 'TCPIntegrationChannel1'
