<commit_before>package org.innovateuk.ifs.project.finance.service;

import org.innovateuk.ifs.BaseRestServiceUnitTest;
import org.innovateuk.ifs.project.finance.resource.FinanceCheckEligibilityResource;
import org.innovateuk.ifs.project.finance.resource.FinanceCheckOverviewResource;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;

import static org.springframework.http.HttpStatus.OK;

public class FinanceCheckRestServiceImplTest extends BaseRestServiceUnitTest<FinanceCheckRestServiceImpl> {

    @Override
    protected FinanceCheckRestServiceImpl registerRestServiceUnderTest() {
        return new FinanceCheckRestServiceImpl();
    }

    @Test
    @Ignore
    public void testApprove() {
        setupPostWithRestResultExpectations("/project/123/partner-organisation/456/finance-check/approve", OK);
        service.approveFinanceCheck(123L, 456L);
        setupPostWithRestResultVerifications("/project/123/partner-organisation/456/finance-check/approve", Void.class, null);
    }

    @Test
    @Ignore
    public void testGetFinanceCheckEligibility() {
        FinanceCheckEligibilityResource processStatus = new FinanceCheckEligibilityResource();
        setupGetWithRestResultExpectations("/project/123/partner-organisation/456/finance-check/eligibility", FinanceCheckEligibilityResource.class, processStatus);

        Assert.assertEquals(processStatus, service.getFinanceCheckEligibilityDetails(123L, 456L).getSuccessObject());
    }

    @Test
    @Ignore
    public void testGetFinanceCheckOverview() {
        FinanceCheckOverviewResource processStatus = new FinanceCheckOverviewResource();
        setupGetWithRestResultExpectations("/project/123/finance-check/overview", FinanceCheckOverviewResource.class, processStatus);

        Assert.assertEquals(processStatus, service.getFinanceCheckOverview(123L).getSuccessObject());
    }
}<commit_msg>INFUND-8603 remove Ignore annotation<commit_after>package org.innovateuk.ifs.project.finance.service;

import org.innovateuk.ifs.BaseRestServiceUnitTest;
import org.innovateuk.ifs.project.finance.resource.FinanceCheckEligibilityResource;
import org.innovateuk.ifs.project.finance.resource.FinanceCheckOverviewResource;
import org.junit.Assert;
import org.junit.Test;

import static org.springframework.http.HttpStatus.OK;

public class FinanceCheckRestServiceImplTest extends BaseRestServiceUnitTest<FinanceCheckRestServiceImpl> {

    @Override
    protected FinanceCheckRestServiceImpl registerRestServiceUnderTest() {
        return new FinanceCheckRestServiceImpl();
    }

    @Test
    public void testApprove() {
        setupPostWithRestResultExpectations("/project/123/partner-organisation/456/finance-check/approve", OK);
        service.approveFinanceCheck(123L, 456L);
        setupPostWithRestResultVerifications("/project/123/partner-organisation/456/finance-check/approve", Void.class);
    }

    @Test
    public void testGetFinanceCheckEligibility() {
        FinanceCheckEligibilityResource processStatus = new FinanceCheckEligibilityResource();
        setupGetWithRestResultExpectations("/project/123/partner-organisation/456/finance-check/eligibility", FinanceCheckEligibilityResource.class, processStatus);

        Assert.assertEquals(processStatus, service.getFinanceCheckEligibilityDetails(123L, 456L).getSuccessObject());
    }

    @Test
    public void testGetFinanceCheckOverview() {
        FinanceCheckOverviewResource processStatus = new FinanceCheckOverviewResource();
        setupGetWithRestResultExpectations("/project/123/finance-check/overview", FinanceCheckOverviewResource.class, processStatus);

        Assert.assertEquals(processStatus, service.getFinanceCheckOverview(123L).getSuccessObject());
    }
}
{'fraction_non_alphanumeric': 0.08721241305510968, 'fraction_numerical': 0.020331728196896735, 'mean_word_length': 5.413379073756432, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '6005782', 'n_tokens_mistral': 1081, 'n_tokens_neox': 998, 'n_words': 137}