Subversion Repositories eFlore/Applications.del

Compare Revisions

Ignore whitespace Rev 2093 → Rev 2094

/tags/v1.10-sodium/src/org/tela_botanica/del/test/vues/identiplante/MoteurIdentiplantePresenteurTest.java
New file
0,0 → 1,31
package org.tela_botanica.del.test.vues.identiplante;
 
import org.junit.Before;
import org.junit.Test;
import org.mockito.Mockito;
import org.tela_botanica.del.client.services.rest.ObservationService;
import org.tela_botanica.del.client.vues.identiplante.moteur.MoteurIdentiplantePresenteur;
 
import com.google.gwt.user.client.ui.HasWidgets;
 
public class MoteurIdentiplantePresenteurTest {
 
MoteurIdentiplantePresenteur moteurRecherchePresenteur;
MoteurIdentiplantePresenteur.Vue moteurRechercheVue;
HasWidgets container;
 
@Before
public void setUp() {
moteurRechercheVue = Mockito.mock(MoteurIdentiplantePresenteur.Vue.class, Mockito.RETURNS_MOCKS);
ObservationService obsService = Mockito.mock(ObservationService.class);
moteurRecherchePresenteur = new MoteurIdentiplantePresenteur(obsService, moteurRechercheVue);
 
container = Mockito.mock(HasWidgets.class);
}
 
@Test
public void testerMoteurRechercheImage() {
// TODO faire un test GWTTestCase
}
 
}