test_class.declarator: testTransactionManager
test_class.modifier: @Autowired
  	private
test_class.original_string: @Autowired
  	private TestTransactionManager testTransactionManager;
test_class.type: TestTransactionManager
test_class.var_name: testTransactionManager
test_class.declarator: hibernateTemplate
test_class.modifier: @Autowired
  	private
test_class.original_string: @Autowired
  	private HibernateTemplate hibernateTemplate;
test_class.type: HibernateTemplate
test_class.var_name: hibernateTemplate
test_class.declarator: sequenceRepository
test_class.modifier: private
test_class.original_string: private SequenceRepositoryImpl sequenceRepository;
test_class.type: SequenceRepositoryImpl
test_class.var_name: sequenceRepository
test_class.file: commons/flow/src/test/java/org/openehealth/ipf/commons/flow/repository/SequenceRepositoryImplTest.java
test_class.identifier: SequenceRepositoryImplTest
test_case.body: @Test
  	public void testNextNumber() throws Exception {
  		sequenceRepository.initSequence();
  		testTransactionManager.commitTransaction();
  		testTransactionManager.beginTransaction();
  		for (long i = 1; i < 10; i++) {
  			long number = sequenceRepository.nextNumber();
  			assertEquals(i, number);
  		}
  	}
test_case.class_method_signature: SequenceRepositoryImplTest.testNextNumber()
test_case.full_signature: @Test public void testNextNumber()
test_case.identifier: testNextNumber
test_case.invocations: initSequence commitTransaction beginTransaction nextNumber assertEquals
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testNextNumber()
focal_class.declarator: LOG = LoggerFactory.getLogger(SequenceRepositoryImpl.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger LOG = LoggerFactory.getLogger(SequenceRepositoryImpl.class);
focal_class.type: Logger
focal_class.var_name: LOG
focal_class.file: commons/flow/src/main/java/org/openehealth/ipf/commons/flow/repository/SequenceRepositoryImpl.java
focal_class.identifier: SequenceRepositoryImpl
focal_class.interfaces: implements SequenceRepository
focal_class.class_method_signature: SequenceRepositoryImpl.initSequence()
focal_class.full_signature: @Override public void initSequence()
focal_class.identifier: initSequence
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void initSequence()
focal_class.class_method_signature: SequenceRepositoryImpl.nextNumber()
focal_class.full_signature: @Override public Long nextNumber()
focal_class.identifier: nextNumber
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Long
focal_class.signature: Long nextNumber()
focal_class.class_method_signature: SequenceRepositoryImpl.lockNumber()
focal_class.full_signature: private FlowNumber lockNumber()
focal_class.identifier: lockNumber
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: FlowNumber
focal_class.signature: FlowNumber lockNumber()
focal_class.superclass: extends HibernateDaoSupport
focal_method.body: @Override
      public Long nextNumber() {
          return lockNumber().incrementAndGet();
      }
focal_method.class_method_signature: SequenceRepositoryImpl.nextNumber()
focal_method.full_signature: @Override public Long nextNumber()
focal_method.identifier: nextNumber
focal_method.invocations: incrementAndGet lockNumber
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: Long
focal_method.signature: Long nextNumber()