<commit_before>package org.innovateuk.ifs.eucontact.transactional;

import org.innovateuk.ifs.commons.BaseIntegrationTest;
import org.innovateuk.ifs.commons.service.ServiceResult;
import org.innovateuk.ifs.eucontact.repository.EuContactRepository;
import org.innovateuk.ifs.eugrant.EuContactPageResource;
import org.innovateuk.ifs.eugrant.EuContactResource;
import org.innovateuk.ifs.eugrant.domain.EuContact;
import org.junit.Ignore;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.PageRequest;
import org.springframework.data.domain.Pageable;
import org.springframework.data.domain.Sort;

import static org.innovateuk.ifs.eugrant.domain.EuContactBuilder.newEuContact;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;

public class EuContactServiceIntegrationTest extends BaseIntegrationTest {

    @Autowired
    private EuContactService euContactService;

    @Autowired
    private EuContactRepository euContactRepository;

    @Test
    public void getByNotified() {

        EuContact euContactOne = newEuContact()
                .withName("<NAME>")
                .withEmail("<EMAIL>")
                .withJobTitle("Rollercoaster operator")
                .withTelephone("2468")<commit_msg>IFS-5298 remove unused import<commit_after>package org.innovateuk.ifs.eucontact.transactional;

import org.innovateuk.ifs.commons.BaseIntegrationTest;
import org.innovateuk.ifs.commons.service.ServiceResult;
import org.innovateuk.ifs.eucontact.repository.EuContactRepository;
import org.innovateuk.ifs.eugrant.EuContactPageResource;
import org.innovateuk.ifs.eugrant.EuContactResource;
import org.innovateuk.ifs.eugrant.domain.EuContact;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.PageRequest;
import org.springframework.data.domain.Pageable;
import org.springframework.data.domain.Sort;

import static org.innovateuk.ifs.eugrant.domain.EuContactBuilder.newEuContact;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;

public class EuContactServiceIntegrationTest extends BaseIntegrationTest {

    @Autowired
    private EuContactService euContactService;

    @Autowired
    private EuContactRepository euContactRepository;

    @Test
    public void getByNotified() {

        EuContact euContactOne = newEuContact()
                .withName("<NAME>")
                .withEmail("<EMAIL>")
                .withJobTitle("Rollercoaster operator")
                .withTelephone("2468")
{'fraction_non_alphanumeric': 0.0899047619047619, 'fraction_numerical': 0.004571428571428572, 'mean_word_length': 4.623126338329764, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '6209046', 'n_tokens_mistral': 770, 'n_tokens_neox': 743, 'n_words': 120}