8,6 → 8,7 |
import org.mockito.Mockito; |
import org.tela_botanica.del.client.cache.CacheClient; |
import org.tela_botanica.del.client.services.rest.ImageService; |
import org.tela_botanica.del.client.services.rest.ProtocoleService; |
import org.tela_botanica.del.client.vues.rechercheimages.resultats.ResultatRechercheImagePresenteur; |
|
public class ResultatRechercheImagePresenteurTest { |
21,7 → 22,8 |
|
vueResultat = mock(org.tela_botanica.del.client.vues.rechercheimages.resultats.ResultatRechercheImagePresenteur.Vue.class, Mockito.RETURNS_MOCKS); |
serviceImage = mock(ImageService.class); |
resultatPresenteur = new ResultatRechercheImagePresenteur(serviceImage, vueResultat); |
ProtocoleService protocoleService = Mockito.mock(ProtocoleService.class); |
resultatPresenteur = new ResultatRechercheImagePresenteur(serviceImage, protocoleService, vueResultat); |
} |
|
@Test |