<commit_before>package org.openlmis.core.upload;

import org.apache.log4j.Logger;
import org.junit.Before;
import org.junit.Test;
import org.junit.experimental.categories.Category;
import org.junit.runner.RunWith;
import org.mockito.InjectMocks;
import org.mockito.Mock;
import org.mockito.runners.MockitoJUnitRunner;
import org.openlmis.core.builder.FacilityBuilder;
import org.openlmis.core.builder.ProductBuilder;
import org.openlmis.core.builder.ProgramBuilder;
import org.openlmis.core.builder.ProgramProductBuilder;
import org.openlmis.core.domain.*;
import org.openlmis.core.dto.FacilityProgramProductISADTO;
import org.openlmis.core.repository.*;
import org.openlmis.db.categories.UnitTests;

import java.util.Arrays;
import java.util.Collections;

import static com.natpryce.makeiteasy.MakeItEasy.a;
import static com.natpryce.makeiteasy.MakeItEasy.make;
import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertThat;
import static org.mockito.Matchers.any;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;

@Category(UnitTests.class)
@RunWith(MockitoJUnitRunner.class)
public class FacilityProgramProductISAHandlerTest {

    private static Logger logger = Logger.getLogger(FacilityProgramProductISAHandlerTest.class);

    @Mock
    FacilityProgramProductRepository repository;

    @Mock
    FacilityRepository facilityRepository;

    @Mock
    ProgramProductRepository programProductRepository;

    @Mock
    ProgramRepository programRepository;

    @Mock
    ProductRepository productRepository;

    @Mock
    SupervisoryNodeRepository supervisoryNodeRepository;

    @Mock
    RequisitionGroupRepository requisitionGroupRepository;

    @Mock
    RequisitionGroupMemberRepository requisitionGroupMemberRepository;

    @InjectMocks
    FacilityProgramProductISAHandler handler;
<commit_msg>Remove unnecessary code<commit_after>package org.openlmis.core.upload;

import org.junit.Before;
import org.junit.Test;
import org.junit.experimental.categories.Category;
import org.junit.runner.RunWith;
import org.mockito.InjectMocks;
import org.mockito.Mock;
import org.mockito.runners.MockitoJUnitRunner;
import org.openlmis.core.builder.FacilityBuilder;
import org.openlmis.core.builder.ProductBuilder;
import org.openlmis.core.builder.ProgramBuilder;
import org.openlmis.core.builder.ProgramProductBuilder;
import org.openlmis.core.domain.*;
import org.openlmis.core.dto.FacilityProgramProductISADTO;
import org.openlmis.core.repository.*;
import org.openlmis.db.categories.UnitTests;

import java.util.Arrays;
import java.util.Collections;

import static com.natpryce.makeiteasy.MakeItEasy.a;
import static com.natpryce.makeiteasy.MakeItEasy.make;
import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assert.assertThat;
import static org.mockito.Matchers.any;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;

@Category(UnitTests.class)
@RunWith(MockitoJUnitRunner.class)
public class FacilityProgramProductISAHandlerTest {

    @Mock
    FacilityProgramProductRepository repository;

    @Mock
    FacilityRepository facilityRepository;

    @Mock
    ProgramProductRepository programProductRepository;

    @Mock
    ProgramRepository programRepository;

    @Mock
    ProductRepository productRepository;

    @Mock
    SupervisoryNodeRepository supervisoryNodeRepository;

    @Mock
    RequisitionGroupRepository requisitionGroupRepository;

    @Mock
    RequisitionGroupMemberRepository requisitionGroupMemberRepository;

    @InjectMocks
    FacilityProgramProductISAHandler handler;

{'fraction_non_alphanumeric': 0.07875307629204266, 'fraction_numerical': 0.00027344818156959256, 'mean_word_length': 5.761552680221811, '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': '2148987', 'n_tokens_mistral': 1088, 'n_tokens_neox': 1049, 'n_words': 190}