@@ -0,0 +1,2494 @@
+package com.epam.rft.atsy.persistence.repositories;%0A%0Aimport com.epam.rft.atsy.persistence.entities.CandidateEntity;%0Aimport org.junit.Test;%0Aimport org.springframework.beans.factory.annotation.Autowired;%0Aimport org.springframework.data.domain.Sort;%0A%0Aimport java.util.List;%0A%0Aimport static org.hamcrest.CoreMatchers.notNullValue;%0Aimport static org.hamcrest.Matchers.containsString;%0Aimport static org.junit.Assert.assertThat;%0A%0Apublic class CandidateRepositoryIT extends AbstractRepositoryIT %7B%0A%0A    @Autowired%0A    private CandidateRepository candidateRepository;%0A%0A    @Test%0A    public void findAllCandidatesByFilterRequestWithValidData() %7B%0A        for (int i = 1; i %3C 9; i++) %7B%0A%0A            //Given%0A            String name = %22%22, email = %22%22, phone = %22%22;%0A%0A            if (i / 2 %3E 0) %7B%0A                name = %22date%22;%0A            %7D%0A%0A            if (i %25 4 == 0) %7B%0A                email = %22atsy.%22;%0A            %7D%0A%0A            if (i %25 8 == 0) %7B%0A                phone = %2236%22;%0A            %7D%0A%0A            //When%0A            List%3CCandidateEntity%3E result%0A                    = this.candidateRepository.findAllCandidatesByFilterRequest(name, email, phone, new Sort(Sort.DEFAULT_DIRECTION, %22name%22));%0A%0A            System.err.println(%22i=%22+ i);%0A            System.err.println(%22name:%22 + name);%0A            System.err.println(%22email:%22 + email);%0A            System.err.println(%22phone:%22 + phone);%0A            System.err.println(result);%0A            //Then%0A            assertCandidateEntityList(result, name, email, phone);%0A        %7D%0A    %7D%0A%0A    private void assertCandidateEntityList(List%3CCandidateEntity%3E actual,%0A                                           String expectedName,%0A                                           String expectedEmail,%0A                                           String expectedPhone) %7B%0A%0A        for (CandidateEntity entity : actual) %7B%0A%0A            assertThat(entity, notNullValue());%0A%0A            if (!expectedName.isEmpty()) %7B%0A                assertThat(entity.getName(), notNullValue());%0A                assertThat(entity.getName(), containsString(expectedName));%0A            %7D%0A%0A            if (!expectedEmail.isEmpty()) %7B%0A                assertThat(entity.getEmail(), notNullValue());%0A                assertThat(entity.getEmail(), containsString(expectedEmail));%0A            %7D%0A%0A            if (!expectedPhone.isEmpty()) %7B%0A                assertThat(entity.getPhone(), notNullValue());%0A                assertThat(entity.getPhone(), containsString(expectedPhone));%0A            %7D%0A%0A        %7D%0A    %7D%0A%7D%0A

Add initial test class