Rev 1197 | Blame | Compare with Previous | Last modification | View Log | RSS feed
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;@Beforepublic 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);}@Testpublic void testerMoteurRechercheImage() {// TODO faire un test GWTTestCase}}