package uk.ac.ox.zoo.seeg.abraid.mp.datamanager; import org.kubek2k.springockito.annotations.ReplaceWithMock; import org.kubek2k.springockito.annotations.SpringockitoContextLoader; import org.kubek2k.springockito.annotations.WrapWithSpy; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.test.context.ContextConfiguration; import uk.ac.ox.zoo.seeg.abraid.mp.common.dao.CovariateFileDao; import uk.ac.ox.zoo.seeg.abraid.mp.common.service.workflow.support.runrequest.ModelRunPackageBuilder; import uk.ac.ox.zoo.seeg.abraid.mp.common.service.workflow.support.runrequest.ModelWrapperWebService; import uk.ac.ox.zoo.seeg.abraid.mp.common.web.RasterFilePathFactory; import uk.ac.ox.zoo.seeg.abraid.mp.common.web.WebServiceClient; /** * Base class for Main class tests in the Data Acquisition module. * * Copyright (c) 2014 University of Oxford */ @ContextConfiguration(loader = SpringockitoContextLoader.class, locations = "classpath:uk/ac/ox/zoo/seeg/abraid/mp/datamanager/config/beans.xml") public abstract class AbstractWebServiceClientIntegrationTests extends AbstractDataManagerSpringIntegrationTests { @ReplaceWithMock @Autowired protected WebServiceClient webServiceClient; @WrapWithSpy @Autowired protected ModelWrapperWebService modelWrapperWebService; @ReplaceWithMock @Autowired protected ModelRunPackageBuilder modelRunPackageBuilder; @Autowired @ReplaceWithMock protected RasterFilePathFactory rasterFilePathFactory; @ReplaceWithMock @Autowired protected CovariateFileDao covariateFileDao; }