/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package org.anarres.jdiagnostics;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.junit.Test;

/**
 *
 * @author shevek
 */
public class DefaultQueryTest {

    private static final Log LOG = LogFactory.getLog(DefaultQueryTest.class);

    @Test
    public void testQuery() {
        DefaultQuery query = new DefaultQuery();
        query.add(new ThrowableQuery(new Exception()));
        LOG.info(query.call());
    }

}

@@ -228,103 +228,75 @@
 org.
-apache.commons.logging.Log;%0Aimport org.apache.commons.logging.LogFactory;%0Aimport org.junit.Test
+junit.Test;%0Aimport org.slf4j.Logger;%0Aimport org.slf4j.LoggerFactory
 ;%0A%0A/
@@ -384,16 +384,19 @@
 inal Log
+ger
  LOG = L
@@ -397,16 +397,19 @@
 OG = Log
+ger
 Factory.
@@ -414,16 +414,19 @@
 y.getLog
+ger
 (Default
@@ -606,16 +606,31 @@
 OG.info(
+String.valueOf(
 query.ca
@@ -634,16 +634,17 @@
 .call())
+)
 ;%0A    %7D%0A

Fix tests to work with slf4j.