test_class.file: myeslib-core/src/test/java/org/myeslib/core/data/AggregateRootHistoryTest.java
test_class.identifier: AggregateRootHistoryTest
test_case.body: @Test(expected = NullPointerException.class)
      public void nullEvent() {
  
          UUID id = UUID.randomUUID();
          AggregateRootHistory transactions = new AggregateRootHistory();
          Command command = new CommandJustForTest(UUID.randomUUID(), id, 1L);
          Event event1 = (Event) null;
          transactions.add(UnitOfWork.create(UUID.randomUUID(), command, Arrays.asList(event1)));
  
      }
test_case.class_method_signature: AggregateRootHistoryTest.nullEvent()
test_case.full_signature: @Test(expected = NullPointerException.class) public void nullEvent()
test_case.identifier: nullEvent
test_case.invocations: randomUUID randomUUID add create randomUUID asList
test_case.modifiers: @Test(expected = NullPointerException.class) public
test_case.parameters: ()
test_case.return: void
test_case.signature: void nullEvent()
focal_class.declarator: unitsOfWork
focal_class.modifier: private final
focal_class.original_string: private final List<UnitOfWork> unitsOfWork;
focal_class.type: List<UnitOfWork>
focal_class.var_name: unitsOfWork
focal_class.declarator: persisted
focal_class.modifier: private final
focal_class.original_string: private final Set<UnitOfWork> persisted;
focal_class.type: Set<UnitOfWork>
focal_class.var_name: persisted
focal_class.file: myeslib-core/src/main/java/org/myeslib/core/data/AggregateRootHistory.java
focal_class.identifier: AggregateRootHistory
focal_class.interfaces: implements Serializable
focal_class.class_method_signature: AggregateRootHistory.AggregateRootHistory()
focal_class.full_signature: public  AggregateRootHistory()
focal_class.identifier: AggregateRootHistory
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  AggregateRootHistory()
focal_class.class_method_signature: AggregateRootHistory.getAllEvents()
focal_class.full_signature: public List<Event> getAllEvents()
focal_class.identifier: getAllEvents
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: List<Event>
focal_class.signature: List<Event> getAllEvents()
focal_class.class_method_signature: AggregateRootHistory.getEventsAfterUntil(long afterVersion, long untilVersion)
focal_class.full_signature: public List<Event> getEventsAfterUntil(long afterVersion, long untilVersion)
focal_class.identifier: getEventsAfterUntil
focal_class.modifiers: public
focal_class.parameters: (long afterVersion, long untilVersion)
focal_class.return: List<Event>
focal_class.signature: List<Event> getEventsAfterUntil(long afterVersion, long untilVersion)
focal_class.class_method_signature: AggregateRootHistory.getEventsUntil(long version)
focal_class.full_signature: public List<Event> getEventsUntil(long version)
focal_class.identifier: getEventsUntil
focal_class.modifiers: public
focal_class.parameters: (long version)
focal_class.return: List<Event>
focal_class.signature: List<Event> getEventsUntil(long version)
focal_class.class_method_signature: AggregateRootHistory.getLastVersion()
focal_class.full_signature: public Long getLastVersion()
focal_class.identifier: getLastVersion
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Long
focal_class.signature: Long getLastVersion()
focal_class.class_method_signature: AggregateRootHistory.add(final UnitOfWork transaction)
focal_class.full_signature: public void add(final UnitOfWork transaction)
focal_class.identifier: add
focal_class.modifiers: public
focal_class.parameters: (final UnitOfWork transaction)
focal_class.return: void
focal_class.signature: void add(final UnitOfWork transaction)
focal_class.class_method_signature: AggregateRootHistory.getLastUnitOfWork()
focal_class.full_signature: public UnitOfWork getLastUnitOfWork()
focal_class.identifier: getLastUnitOfWork
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: UnitOfWork
focal_class.signature: UnitOfWork getLastUnitOfWork()
focal_class.class_method_signature: AggregateRootHistory.getPendingOfPersistence()
focal_class.full_signature: public List<UnitOfWork> getPendingOfPersistence()
focal_class.identifier: getPendingOfPersistence
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: List<UnitOfWork>
focal_class.signature: List<UnitOfWork> getPendingOfPersistence()
focal_class.class_method_signature: AggregateRootHistory.markAsPersisted(UnitOfWork uow)
focal_class.full_signature: public void markAsPersisted(UnitOfWork uow)
focal_class.identifier: markAsPersisted
focal_class.modifiers: public
focal_class.parameters: (UnitOfWork uow)
focal_class.return: void
focal_class.signature: void markAsPersisted(UnitOfWork uow)
focal_method.body: public void add(final UnitOfWork transaction) {
  		checkNotNull(transaction);
  		unitsOfWork.add(transaction);
  	}
focal_method.class_method_signature: AggregateRootHistory.add(final UnitOfWork transaction)
focal_method.full_signature: public void add(final UnitOfWork transaction)
focal_method.identifier: add
focal_method.invocations: checkNotNull add
focal_method.modifiers: public
focal_method.parameters: (final UnitOfWork transaction)
focal_method.return: void
focal_method.signature: void add(final UnitOfWork transaction)