<commit_before>package rest;

import beans.BeanManager;
import org.junit.jupiter.api.Test;

class RestTest {

    @Test
    void serviceTest() {
        BeanManager.getInstance().setService(Service1.class, Service1Impl.class);
        Service1 service1 = BeanManager.getInstance().getService(Service1.class);
        try {
            System.out.println(service1.getA());
        } catch (Exception e) {
            System.out.println(e instanceof RuntimeException);
            System.out.println(e.getMessage());
            System.out.println(e.getCause().getMessage());
            System.out.println(e.getCause().getCause().getMessage());
        }
    }

}<commit_msg>rest test<commit_after>package rest;

import beans.BeanManager;
import org.junit.jupiter.api.Test;

class RestTest {

    @Test
    void serviceTest() {
//        BeanManager.getInstance().setService(Service1.class, Service1Impl.class);
        Service1 service1 = BeanManager.getInstance().getService(Service1.class);
        try {
            System.out.println(service1.getA());
        } catch (Exception e) {
            System.out.println(e instanceof RuntimeException);
            System.out.println(e.getMessage());
            System.out.println(e.getCause().getMessage());
            System.out.println(e.getCause().getCause().getMessage());
        }
    }

}
{'fraction_non_alphanumeric': 0.1337295690936107, 'fraction_numerical': 0.008915304606240713, 'mean_word_length': 2.7005494505494507, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4136524', 'n_tokens_mistral': 377, 'n_tokens_neox': 375, 'n_words': 55}