@Test
public void testGetLames() {

	ESamplingSurvivorGeneration survivorGeneration = mock(ESamplingSurvivorGenerationBasic.class);
	EpsilonSamplingSelector selector = new EpsilonSamplingSelector(survivorGeneration);
	Individual first = mock(Individual.class);
	Individual second = mock(Individual.class);
	Individual third = mock(Individual.class);
	Set<Individual> survivors = new HashSet<>();
	survivors.add(first);
	survivors.add(second);
	Population population = new Population();
	population.add(first);
	population.add(second);
	population.add(third);
	when(survivorGeneration.getSurvivors(population, 2)).thenReturn(survivors);
	Collection<Individual> result = selector.getLames(1, population);
	verify(survivorGeneration).getSurvivors(population, 2);
	assertEquals(1, result.size());
	assertTrue(result.contains(third));
}