Subversion Repositories eFlore/Applications.del

Compare Revisions

Ignore whitespace Rev 379 → Rev 380

/trunk/src/org/tela_botanica/del/test/vues/rechercheimages/ResultatRechercheImagePresenteurTest.java
New file
0,0 → 1,34
package org.tela_botanica.del.test.vues.rechercheimages;
 
import static org.junit.Assert.*;
 
import org.junit.Before;
import org.junit.Test;
import org.tela_botanica.del.client.vues.rechercheimages.MoteurRechercheImagePresenteur.Vue;
import org.tela_botanica.del.client.services.rest.ImageServiceConcret;
import org.tela_botanica.del.client.vues.rechercheimages.resultats.ResultatRechercheImagePresenteur;
 
import static org.mockito.Mockito.mock;
 
public class ResultatRechercheImagePresenteurTest {
 
private ResultatRechercheImagePresenteur resultatPresenteur;
private Vue vueMoteurRecherche;
private org.tela_botanica.del.client.vues.rechercheimages.resultats.ResultatRechercheImagePresenteur.Vue vueResultat;
@Before
public void setUp() throws Exception {
vueResultat = mock(org.tela_botanica.del.client.vues.rechercheimages.resultats.ResultatRechercheImagePresenteur.Vue.class);
resultatPresenteur = new ResultatRechercheImagePresenteur(new ImageServiceConcret(), vueResultat);
vueMoteurRecherche = mock(Vue.class);
resultatPresenteur.go(vueMoteurRecherche.getZoneResultats());
}
 
@Test
public void test() {
assertSame("a", "a");
}
 
}