<commit_before>package no.bouvet.jsonclient;

import org.junit.Test;

public class JsonClientTest {

    private JsonClient jsonClient = new JsonClient();

    @Test(expected=RuntimeException.class)
    public void testJsonClientContentType() {
        jsonClient.http().get("http://www.google.no").object(TestObject.class);
    }

    @Test
    public void testThatHttpClientThrowsExceptionWhenNull() {
        jsonClient.get("http://www.google.no");<commit_msg>Added expected exception in test<commit_after>package no.bouvet.jsonclient;

import org.junit.Test;

public class JsonClientTest {

    private JsonClient jsonClient = new JsonClient();

    @Test(expected=RuntimeException.class)
    public void testJsonClientContentType() {
        jsonClient.http().get("http://www.google.no").object(TestObject.class);
    }

    @Test(expected=RuntimeException.class)
    public void testThatHttpClientThrowsExceptionWhenNull() {
        jsonClient.get("http://www.google.no");
{'fraction_non_alphanumeric': 0.11860940695296524, 'fraction_numerical': 0.0, 'mean_word_length': 4.320652173913044, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, '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': '3956398', 'n_tokens_mistral': 281, 'n_tokens_neox': 274, 'n_words': 47}