/*
 * Copyright 2014, Armenak Grigoryan, and individual contributors as indicated
 * by the @authors tag. See the copyright.txt in the distribution for a
 * full listing of individual contributors.
 *
 * This is free software; you can redistribute it and/or modify it
 * under the terms of the GNU Lesser General Public License as
 * published by the Free Software Foundation; either version 2.1 of
 * the License, or (at your option) any later version.
 *
 * This software is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * Lesser General Public License for more details.
 *
 */
package com.strider.dataanonymizer;

import java.util.Properties;
import com.strider.dataanonymizer.database.H2DB;
import com.strider.dataanonymizer.database.metadata.MatchMetaData;
import java.util.HashSet;
import java.util.List;
import static org.junit.Assert.assertTrue;
import org.junit.Test;

/**
 * @author Akira Matsuo
 */
public class DataDiscoverTest extends H2DB {
    
//    @SuppressWarnings("serial")
//    private final Properties sampleDProps = new Properties() {{ 
//        setProperty("probability_threshold", "0.5" ); 
//        setProperty("english_tokens", "target/classes/en-token.bin");
//        setProperty("person", "target/classes/en-ner-person.bin");
//        setProperty("limit", "10");
//    }};
//
//    // Doesn't really test much, yet... but could if the data was setup correctly
//    @Test
//    public void testHappyPath() throws AnonymizerException { 
//        IDiscoverer discoverer = new DataDiscoverer();
//        List<MatchMetaData> output = discoverer.discover(factory, sampleDProps, new HashSet<String>());
//        assertTrue(output.isEmpty());
//    }
}

/*
 * Copyright 2014, Armenak Grigoryan, and individual contributors as indicated
 * by the @authors tag. See the copyright.txt in the distribution for a
 * full listing of individual contributors.
 *
 * This is free software; you can redistribute it and/or modify it
 * under the terms of the GNU Lesser General Public License as
 * published by the Free Software Foundation; either version 2.1 of
 * the License, or (at your option) any later version.
 *
 * This software is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * Lesser General Public License for more details.
 *
 */
package com.strider.dataanonymizer;

import com.strider.dataanonymizer.database.H2DB;

/**
 * @author Akira Matsuo
 */
public class DataDiscoverTest extends H2DB {
    
//    @SuppressWarnings("serial")
//    private final Properties sampleDProps = new Properties() {{ 
//        setProperty("probability_threshold", "0.5" ); 
//        setProperty("english_tokens", "target/classes/en-token.bin");
//        setProperty("person", "target/classes/en-ner-person.bin");
//        setProperty("limit", "10");
//    }};
//
//    // Doesn't really test much, yet... but could if the data was setup correctly
//    @Test
//    public void testHappyPath() throws AnonymizerException { 
//        IDiscoverer discoverer = new DataDiscoverer();
//        List<MatchMetaData> output = discoverer.discover(factory, sampleDProps, new HashSet<String>());
//        assertTrue(output.isEmpty());
//    }
}

Remove unused import statements.