SQLListenerContext sqlListenerContext = new SQLListenerContextImpl(new DefaultQueryMetadata());
SQLDetailedListener listenerParent = new AssertingDetailedListener("keyParent", "valueParent");
SQLDetailedListener listener1 = new AssertingDetailedListener("key1", "value1");
SQLDetailedListener listener2 = new AssertingDetailedListener("key1", "value1");
SQLListeners listeners = new SQLListeners(listenerParent);
listeners.add(listener1);
listeners.add(listener2);
listeners.start(sqlListenerContext);
listeners.preRender(sqlListenerContext);
listeners.rendered(sqlListenerContext);
listeners.prePrepare(sqlListenerContext);
listeners.prepared(sqlListenerContext);
listeners.preExecute(sqlListenerContext);
listeners.preExecute(sqlListenerContext);
}