protected TestSslTransportLayer newTransportLayer(String id, SelectionKey key, SSLEngine sslEngine) throws IOException {
            return new TestSslTransportLayer(id, key, sslEngine);
        }
Tests invalid ssl.engine.factory plugin class
clients/src/test/java/org/apache/kafka/common/network/SslTransportLayerTest.java