<commit_before>package com.googlecode.commandme;

import org.junit.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import static org.hamcrest.CoreMatchers.notNullValue;
import static org.junit.Assert.assertThat;

/**
 * @author <NAME>
 * @date Jun 3, 2010
 */
public class CLIParserTest {
    @SuppressWarnings({"UnusedDeclaration"})
    private static final Logger LOGGER = LoggerFactory.getLogger(CLIParserTest.class);

    @Test
    public void testCreateModuleNull() throws Exception {
        CLIParser.createModule(null);
    }

    @Test
    public void testCreateModuleNotNull() throws Exception {
        assertThat(CLIParser.createModule(Object.class), notNullValue());
    }
}<commit_msg>Tests fixed<commit_after>package com.googlecode.commandme;

import org.junit.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import static org.hamcrest.CoreMatchers.notNullValue;
import static org.junit.Assert.assertThat;

/**
 * @author <NAME>
 * @date Jun 3, 2010
 */
public class CLIParserTest {
    @SuppressWarnings({"UnusedDeclaration"})
    private static final Logger LOGGER = LoggerFactory.getLogger(CLIParserTest.class);

    @Test(expected = CliException.class)
    public void testCreateModuleNull() throws CliException {
        CLIParser.createModule(null);
    }

    @Test
    public void testCreateModuleNotNull() throws Exception {
        assertThat(CLIParser.createModule(Object.class), notNullValue());
    }
}
{'fraction_non_alphanumeric': 0.1039671682626539, 'fraction_numerical': 0.009575923392612859, 'mean_word_length': 4.438661710037175, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, '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': '1369149', 'n_tokens_mistral': 457, 'n_tokens_neox': 437, 'n_words': 92}