@SuppressWarnings("unchecked")
@Test
public void testListWithFilter() {

	List<Provider> listProviders = new ArrayList<>();
	this.providerDatabase.setName("Provider Authentication");
	listProviders.add(providerDatabase);
	Mockito.when(providerRepository.findAll(Mockito.any(Example.class))).thenReturn(listProviders);
	List<Provider> listProvidersResp = this.providerService.listWithFilter(providerDTO);
	assertEquals(listProviders.size(), listProvidersResp.size());
	Mockito.verify(this.providerRepository, Mockito.times(1)).findAll(Mockito.any(Example.class));
}