Class StatisticsPublisherTest

All Implemented Interfaces:
JaloSessionHolder

@IntegrationTest public class StatisticsPublisherTest extends ServicelayerBaseTest
  • Constructor Details

    • StatisticsPublisherTest

      public StatisticsPublisherTest()
  • Method Details

    • setUp

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

      public void tearDown() throws Exception
      Throws:
      Exception
    • shouldWorkForStartingAndStoppingAndStarting

      public void shouldWorkForStartingAndStoppingAndStarting()
    • shouldNotStartWorkerWhenPropertyIsDisabled

      public void shouldNotStartWorkerWhenPropertyIsDisabled() throws InterruptedException
      Throws:
      InterruptedException
    • shouldNotStartWorkerWhenPropertyIsInvalid

      public void shouldNotStartWorkerWhenPropertyIsInvalid()
    • shouldStartWorkerThreadIfPropertyIsTrue

      public void shouldStartWorkerThreadIfPropertyIsTrue()
    • shouldStopWorkerOnDestroy

      public void shouldStopWorkerOnDestroy() throws Exception
      Throws:
      Exception
    • shouldStartOnlyOneWorkerWhenCalledMultipleTimes

      public void shouldStartOnlyOneWorkerWhenCalledMultipleTimes() throws InterruptedException
      Throws:
      InterruptedException
    • shouldStartOnlyOneWorkerWhenCalledMultipleTimesConcurrently

      public void shouldStartOnlyOneWorkerWhenCalledMultipleTimesConcurrently()
    • shouldCreateBackOffStrategyWithValuesFromProperties

      public void shouldCreateBackOffStrategyWithValuesFromProperties()