Class DefaultCampaignDaoIT

All Implemented Interfaces:
JaloSessionHolder

@IntegrationTest public class DefaultCampaignDaoIT extends ServicelayerTransactionalTest
  • Constructor Details

    • DefaultCampaignDaoIT

      public DefaultCampaignDaoIT()
  • Method Details

    • setUp

      public void setUp() throws Exception
      Throws:
      Exception
    • shouldProvideAllCampaigns

      public void shouldProvideAllCampaigns() throws Exception
      Throws:
      Exception
    • shouldProvideCampaignByCode

      public void shouldProvideCampaignByCode() throws Exception
      Throws:
      Exception
    • shouldRaiseExceptionIfNoCampaignWithGivenCode

      public void shouldRaiseExceptionIfNoCampaignWithGivenCode() throws Exception
      Throws:
      Exception
    • shouldProvideOnlyActiveCampaigns

      public void shouldProvideOnlyActiveCampaigns() throws Exception
      Throws:
      Exception
    • createCampaign

      protected CampaignModel createCampaign(String code, Date pastDate, Date futureDate, boolean enabled)
    • getCampaignDao

      protected CampaignDao getCampaignDao()
    • getModelService

      protected ModelService getModelService()
    • getTimeService

      protected TimeService getTimeService()