<commit_before>package at.junction.anathema;

import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;

/**
 * Unit test for JunctionPlugin.
 */
public class AnathemaTest 
    extends TestCase
{
    /**
     * Create the test case
     *
     * @param testName name of the test case
     */
    public AnathemaTest(final String testName)
    {
        super(testName);
    }

    /**
     * @return the suite of tests being tested
     */
    public static Test suite()
    {
        return new TestSuite(AnathemaTest.class);
    }

    public void testTrue()
    {
        assertTrue( true );
    }
}<commit_msg>added a test for testing<commit_after>package at.junction.anathema;

import java.io.IOException;

import org.json.JSONException;

import at.junction.anathema.BanApi;
import at.junction.anathema.BanApi.APIException;
import at.junction.api.HttpException;
import at.junction.api.JunctionClient;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;

/**
 * Unit test for JunctionPlugin.
 */
public class AnathemaTest 
    extends TestCase
{
	
	private final String base = "https://wiggitywhack-dev.junction.at";
	
    /**
     * Create the test case
     *
     * @param testName name of the test case
     */
    public AnathemaTest(final String testName)
    {
        super(testName);
    }

    /**
     * @return the suite of tests being tested
     */
    public static Test suite()
    {
        return new TestSuite(AnathemaTest.class);
    }

    public void testTrue()
    {
        assertTrue( true );
    }
    
    public void testLookup() throws HttpException, IOException, JSONException, APIException
    {
    	final JunctionClient client = new JunctionClient(base, "wiggitywhack", "password");
    	LookupResponse result = BanApi.doFullLookup(client, "testuser");
    	assertNotNull(result);
    }
}
{'fraction_non_alphanumeric': 0.09701101206082853, 'fraction_numerical': 0.0, 'mean_word_length': 2.808383233532934, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5007318', 'n_tokens_mistral': 593, 'n_tokens_neox': 566, 'n_words': 145}