<commit_before>package uk.ac.ebi.atlas.utils;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import org.springframework.test.context.web.WebAppConfiguration;

import javax.inject.Inject;

import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.is;

/**
 * Created by barrera on 28/07/2014.
 *
 */
@RunWith(SpringJUnit4ClassRunner.class)
@WebAppConfiguration
@ContextConfiguration(locations = {"classpath:applicationContext.xml", "classpath:solrContextIT.xml", "classpath:oracleContext.xml"})
public class ReactomeClientIT {

    @Inject
    ReactomeClient subject;

    @Test
    public void parseReactomeId() {
        assertThat(subject.fetchPathwayNameFailSafe("REACT_1698"), is("Metabolism of nucleotides"));
    }

    @Test
    public void reactomeIsUp() {
        assertThat(subject.fetchPathwayNameFailSafe("REACT_1619"), is("Death Receptor  Signalling"));
    }
}<commit_msg>fix test - reactome dataset changed<commit_after>package uk.ac.ebi.atlas.utils;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import org.springframework.test.context.web.WebAppConfiguration;

import javax.inject.Inject;

import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.is;

/**
 * Created by barrera on 28/07/2014.
 *
 */
@RunWith(SpringJUnit4ClassRunner.class)
@WebAppConfiguration
@ContextConfiguration(locations = {"classpath:applicationContext.xml", "classpath:solrContextIT.xml", "classpath:oracleContext.xml"})
public class ReactomeClientIT {

    @Inject
    ReactomeClient subject;

    @Test
    public void parseReactomeId() {
        assertThat(subject.fetchPathwayNameFailSafe("REACT_1698"), is("Metabolism of nucleotides"));
    }

    @Test
    public void reactomeIsUp() {
        assertThat(subject.fetchPathwayNameFailSafe("REACT_1619"), is("Death Receptor Signalling"));
    }
}
{'fraction_non_alphanumeric': 0.11059262715818946, 'fraction_numerical': 0.01773215118992067, 'mean_word_length': 5.419161676646707, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, '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': '3954829', 'n_tokens_mistral': 672, 'n_tokens_neox': 642, 'n_words': 110}