test_class.declarator: subject
test_class.modifier: @InjectMocks
      private
test_class.original_string: @InjectMocks
      private DefaultGraphEventPersistManager subject;
test_class.type: DefaultGraphEventPersistManager
test_class.var_name: subject
test_class.declarator: graphEntityPrePersistEvent
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private Event<GraphEntityPrePersist> graphEntityPrePersistEvent;
test_class.type: Event<GraphEntityPrePersist>
test_class.var_name: graphEntityPrePersistEvent
test_class.declarator: graphEntityPostPersistEvent
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private Event<GraphEntityPostPersist> graphEntityPostPersistEvent;
test_class.type: Event<GraphEntityPostPersist>
test_class.var_name: graphEntityPostPersistEvent
test_class.declarator: entityPrePersistEvent
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private Event<EntityPrePersist> entityPrePersistEvent;
test_class.type: Event<EntityPrePersist>
test_class.var_name: entityPrePersistEvent
test_class.declarator: entityPostPersitEvent
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private Event<EntityPostPersit> entityPostPersitEvent;
test_class.type: Event<EntityPostPersit>
test_class.var_name: entityPostPersitEvent
test_class.declarator: entityGraphPrePersist
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private Event<EntityGraphPrePersist> entityGraphPrePersist;
test_class.type: Event<EntityGraphPrePersist>
test_class.var_name: entityGraphPrePersist
test_class.declarator: entityGraphPostPersist
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private Event<EntityGraphPostPersist> entityGraphPostPersist;
test_class.type: Event<EntityGraphPostPersist>
test_class.var_name: entityGraphPostPersist
test_class.declarator: vertex
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private Vertex vertex;
test_class.type: Vertex
test_class.var_name: vertex
test_class.file: artemis-graph/src/test/java/org/jnosql/artemis/graph/DefaultGraphEventPersistManagerTest.java
test_class.identifier: DefaultGraphEventPersistManagerTest
test_case.body: @Test
      public void shouldFirePreEntity() {
          Jedi jedi = new Jedi();
          jedi.name = "Luke";
          subject.firePreEntity(jedi);
          ArgumentCaptor<EntityPrePersist> captor = ArgumentCaptor.forClass(EntityPrePersist.class);
          verify(entityPrePersistEvent).fire(captor.capture());
          EntityPrePersist value = captor.getValue();
          assertEquals(jedi, value.getValue());
      }
test_case.class_method_signature: DefaultGraphEventPersistManagerTest.shouldFirePreEntity()
test_case.full_signature: @Test public void shouldFirePreEntity()
test_case.identifier: shouldFirePreEntity
test_case.invocations: firePreEntity forClass fire verify capture getValue assertEquals getValue
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void shouldFirePreEntity()
focal_class.declarator: graphEntityPrePersistEvent
focal_class.modifier: @Inject
      private
focal_class.original_string: @Inject
      private Event<GraphEntityPrePersist> graphEntityPrePersistEvent;
focal_class.type: Event<GraphEntityPrePersist>
focal_class.var_name: graphEntityPrePersistEvent
focal_class.declarator: graphEntityPostPersistEvent
focal_class.modifier: @Inject
      private
focal_class.original_string: @Inject
      private Event<GraphEntityPostPersist> graphEntityPostPersistEvent;
focal_class.type: Event<GraphEntityPostPersist>
focal_class.var_name: graphEntityPostPersistEvent
focal_class.declarator: entityPrePersistEvent
focal_class.modifier: @Inject
      private
focal_class.original_string: @Inject
      private Event<EntityPrePersist> entityPrePersistEvent;
focal_class.type: Event<EntityPrePersist>
focal_class.var_name: entityPrePersistEvent
focal_class.declarator: entityPostPersitEvent
focal_class.modifier: @Inject
      private
focal_class.original_string: @Inject
      private Event<EntityPostPersit> entityPostPersitEvent;
focal_class.type: Event<EntityPostPersit>
focal_class.var_name: entityPostPersitEvent
focal_class.declarator: entityGraphPrePersist
focal_class.modifier: @Inject
      private
focal_class.original_string: @Inject
      private Event<EntityGraphPrePersist> entityGraphPrePersist;
focal_class.type: Event<EntityGraphPrePersist>
focal_class.var_name: entityGraphPrePersist
focal_class.declarator: entityGraphPostPersist
focal_class.modifier: @Inject
      private
focal_class.original_string: @Inject
      private Event<EntityGraphPostPersist> entityGraphPostPersist;
focal_class.type: Event<EntityGraphPostPersist>
focal_class.var_name: entityGraphPostPersist
focal_class.file: artemis-graph/src/main/java/org/jnosql/artemis/graph/DefaultGraphEventPersistManager.java
focal_class.identifier: DefaultGraphEventPersistManager
focal_class.interfaces: implements GraphEventPersistManager
focal_class.class_method_signature: DefaultGraphEventPersistManager.firePreGraph(Vertex entity)
focal_class.full_signature: @Override public void firePreGraph(Vertex entity)
focal_class.identifier: firePreGraph
focal_class.modifiers: @Override public
focal_class.parameters: (Vertex entity)
focal_class.return: void
focal_class.signature: void firePreGraph(Vertex entity)
focal_class.class_method_signature: DefaultGraphEventPersistManager.firePostGraph(Vertex entity)
focal_class.full_signature: @Override public void firePostGraph(Vertex entity)
focal_class.identifier: firePostGraph
focal_class.modifiers: @Override public
focal_class.parameters: (Vertex entity)
focal_class.return: void
focal_class.signature: void firePostGraph(Vertex entity)
focal_class.class_method_signature: DefaultGraphEventPersistManager.firePreEntity(T entity)
focal_class.full_signature: @Override public void firePreEntity(T entity)
focal_class.identifier: firePreEntity
focal_class.modifiers: @Override public
focal_class.parameters: (T entity)
focal_class.return: void
focal_class.signature: void firePreEntity(T entity)
focal_class.class_method_signature: DefaultGraphEventPersistManager.firePostEntity(T entity)
focal_class.full_signature: @Override public void firePostEntity(T entity)
focal_class.identifier: firePostEntity
focal_class.modifiers: @Override public
focal_class.parameters: (T entity)
focal_class.return: void
focal_class.signature: void firePostEntity(T entity)
focal_class.class_method_signature: DefaultGraphEventPersistManager.firePreGraphEntity(T entity)
focal_class.full_signature: @Override public void firePreGraphEntity(T entity)
focal_class.identifier: firePreGraphEntity
focal_class.modifiers: @Override public
focal_class.parameters: (T entity)
focal_class.return: void
focal_class.signature: void firePreGraphEntity(T entity)
focal_class.class_method_signature: DefaultGraphEventPersistManager.firePostGraphEntity(T entity)
focal_class.full_signature: @Override public void firePostGraphEntity(T entity)
focal_class.identifier: firePostGraphEntity
focal_class.modifiers: @Override public
focal_class.parameters: (T entity)
focal_class.return: void
focal_class.signature: void firePostGraphEntity(T entity)
focal_method.body: @Override
      public <T> void firePreEntity(T entity) {
          entityPrePersistEvent.fire(EntityPrePersist.of(entity));
      }
focal_method.class_method_signature: DefaultGraphEventPersistManager.firePreEntity(T entity)
focal_method.full_signature: @Override public void firePreEntity(T entity)
focal_method.identifier: firePreEntity
focal_method.invocations: fire of
focal_method.modifiers: @Override public
focal_method.parameters: (T entity)
focal_method.return: void
focal_method.signature: void firePreEntity(T entity)