Package batch

Class BatchDispatcherRegistryTest


  • public class BatchDispatcherRegistryTest
    extends java.lang.Object
    Tests for BatchDispatcherRegistry
    • Constructor Detail

      • BatchDispatcherRegistryTest

        public BatchDispatcherRegistryTest()
    • Method Detail

      • getOrRegisterReturnsSameDispatcherForSameId

        public void getOrRegisterReturnsSameDispatcherForSameId()
      • getOrRegisterReturnsDifferentDispatchersForDifferentIds

        public void getOrRegisterReturnsDifferentDispatchersForDifferentIds()
      • unregisterRemovesDispatcherAndAllowsRecreation

        public void unregisterRemovesDispatcherAndAllowsRecreation()
      • concurrentGetOrRegisterReturnsSameInstance

        public void concurrentGetOrRegisterReturnsSameInstance()
                                                        throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException