<commit_before>package com.confluex.cookbook.ldap

import org.junit.BeforeClass
import org.junit.Test
import org.mule.tck.junit4.FunctionalTestCase


class EmbeddedDatabaseServerFunctionalTest extends FunctionalTestCase {

    @BeforeClass
    static void enableVerboseErrors() {
        System.setProperty("mule.verbose.exceptions", "true")
    }

    @Override
    protected String getConfigResources() {
        return "jdbc-config.xml"
    }

    @Test
    void shouldLookupUsersFromInClause() {
        def msg = muleContext.client.send("getUserInfo", "bmurray", [:], 10000)
//        def msg = muleContext.client.send("getUserInfo", ["bmurray", "rmoranis"], [:], 10000)
        assert msg.payload == [[USER_NAME:'bmurray', LAST_NAME:'Murray', FIRST_NAME:'Bill']]
    }
}
<commit_msg>housekeeping<commit_after>package com.confluex.cookbook.ldap

import org.junit.BeforeClass
import org.junit.Test
import org.mule.tck.junit4.FunctionalTestCase


class EmbeddedDatabaseServerFunctionalTest extends FunctionalTestCase {

    @BeforeClass
    static void enableVerboseErrors() {
        System.setProperty("mule.verbose.exceptions", "true")
    }

    @Override
    protected String getConfigResources() {
        return "jdbc-config.xml"
    }

    @Test
    void shouldLookupUsersFromInClause() {
        def msg = muleContext.client.send("getUserInfo", "bmurray", [:], 10000)
        assert msg.payload == [[USER_NAME:'bmurray', LAST_NAME:'Murray', FIRST_NAME:'Bill']]
    }
}

{'fraction_non_alphanumeric': 0.12018906144496962, 'fraction_numerical': 0.011478730587440918, 'mean_word_length': 3.891089108910891, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '4236217', 'n_tokens_mistral': 489, 'n_tokens_neox': 457, 'n_words': 80}