@Test
public void shouldGenerateRandomClients() {

    //given
    ClientGetter repository = new ClientGetter() {
        @Override
        protected void randomDelay() {
            //ignore delay
        }
    };
    //when
    List<Client> bestClients = repository.getBestClients();
    //then
    assertThat(bestClients).hasSize(10);
}