test_class.declarator: subject
test_class.modifier: @InjectMocks
      private
test_class.original_string: @InjectMocks
      private DefaultDocumentEventPersistManager subject;
test_class.type: DefaultDocumentEventPersistManager
test_class.var_name: subject
test_class.declarator: documentEntityPrePersistEvent
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private Event<DocumentEntityPrePersist> documentEntityPrePersistEvent;
test_class.type: Event<DocumentEntityPrePersist>
test_class.var_name: documentEntityPrePersistEvent
test_class.declarator: documentEntityPostPersistEvent
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private Event<DocumentEntityPostPersist> documentEntityPostPersistEvent;
test_class.type: Event<DocumentEntityPostPersist>
test_class.var_name: documentEntityPostPersistEvent
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: entityDocumentPrePersist
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private Event<EntityDocumentPrePersist> entityDocumentPrePersist;
test_class.type: Event<EntityDocumentPrePersist>
test_class.var_name: entityDocumentPrePersist
test_class.declarator: entityDocumentPostPersist
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private Event<EntityDocumentPostPersist> entityDocumentPostPersist;
test_class.type: Event<EntityDocumentPostPersist>
test_class.var_name: entityDocumentPostPersist
test_class.declarator: documentQueryExecute
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private Event<DocumentQueryExecute> documentQueryExecute;
test_class.type: Event<DocumentQueryExecute>
test_class.var_name: documentQueryExecute
test_class.declarator: documentDeleteQueryExecute
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private Event<DocumentDeleteQueryExecute> documentDeleteQueryExecute;
test_class.type: Event<DocumentDeleteQueryExecute>
test_class.var_name: documentDeleteQueryExecute
test_class.file: artemis-document/src/test/java/org/jnosql/artemis/document/DefaultDocumentEventPersistManagerTest.java
test_class.identifier: DefaultDocumentEventPersistManagerTest
test_case.body: @Test
      public void shouldFirePostEntity() {
          Jedi jedi = new Jedi();
          jedi.name = "Luke";
          subject.firePostEntity(jedi);
          ArgumentCaptor<EntityPostPersit> captor = ArgumentCaptor.forClass(EntityPostPersit.class);
          verify(entityPostPersitEvent).fire(captor.capture());
          EntityPostPersit value = captor.getValue();
          assertEquals(jedi, value.getValue());
      }
test_case.class_method_signature: DefaultDocumentEventPersistManagerTest.shouldFirePostEntity()
test_case.full_signature: @Test public void shouldFirePostEntity()
test_case.identifier: shouldFirePostEntity
test_case.invocations: firePostEntity forClass fire verify capture getValue assertEquals getValue
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void shouldFirePostEntity()
focal_class.declarator: documentEntityPrePersistEvent
focal_class.modifier: @Inject
      private
focal_class.original_string: @Inject
      private Event<DocumentEntityPrePersist> documentEntityPrePersistEvent;
focal_class.type: Event<DocumentEntityPrePersist>
focal_class.var_name: documentEntityPrePersistEvent
focal_class.declarator: documentEntityPostPersistEvent
focal_class.modifier: @Inject
      private
focal_class.original_string: @Inject
      private Event<DocumentEntityPostPersist> documentEntityPostPersistEvent;
focal_class.type: Event<DocumentEntityPostPersist>
focal_class.var_name: documentEntityPostPersistEvent
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: entityDocumentPrePersist
focal_class.modifier: @Inject
      private
focal_class.original_string: @Inject
      private Event<EntityDocumentPrePersist> entityDocumentPrePersist;
focal_class.type: Event<EntityDocumentPrePersist>
focal_class.var_name: entityDocumentPrePersist
focal_class.declarator: entityDocumentPostPersist
focal_class.modifier: @Inject
      private
focal_class.original_string: @Inject
      private Event<EntityDocumentPostPersist> entityDocumentPostPersist;
focal_class.type: Event<EntityDocumentPostPersist>
focal_class.var_name: entityDocumentPostPersist
focal_class.declarator: documentQueryExecute
focal_class.modifier: @Inject
      private
focal_class.original_string: @Inject
      private Event<DocumentQueryExecute> documentQueryExecute;
focal_class.type: Event<DocumentQueryExecute>
focal_class.var_name: documentQueryExecute
focal_class.declarator: documentDeleteQueryExecute
focal_class.modifier: @Inject
      private
focal_class.original_string: @Inject
      private Event<DocumentDeleteQueryExecute> documentDeleteQueryExecute;
focal_class.type: Event<DocumentDeleteQueryExecute>
focal_class.var_name: documentDeleteQueryExecute
focal_class.file: artemis-document/src/main/java/org/jnosql/artemis/document/DefaultDocumentEventPersistManager.java
focal_class.identifier: DefaultDocumentEventPersistManager
focal_class.interfaces: implements DocumentEventPersistManager
focal_class.class_method_signature: DefaultDocumentEventPersistManager.firePreDocument(DocumentEntity entity)
focal_class.full_signature: @Override public void firePreDocument(DocumentEntity entity)
focal_class.identifier: firePreDocument
focal_class.modifiers: @Override public
focal_class.parameters: (DocumentEntity entity)
focal_class.return: void
focal_class.signature: void firePreDocument(DocumentEntity entity)
focal_class.class_method_signature: DefaultDocumentEventPersistManager.firePostDocument(DocumentEntity entity)
focal_class.full_signature: @Override public void firePostDocument(DocumentEntity entity)
focal_class.identifier: firePostDocument
focal_class.modifiers: @Override public
focal_class.parameters: (DocumentEntity entity)
focal_class.return: void
focal_class.signature: void firePostDocument(DocumentEntity entity)
focal_class.class_method_signature: DefaultDocumentEventPersistManager.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: DefaultDocumentEventPersistManager.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: DefaultDocumentEventPersistManager.firePreDocumentEntity(T entity)
focal_class.full_signature: @Override public void firePreDocumentEntity(T entity)
focal_class.identifier: firePreDocumentEntity
focal_class.modifiers: @Override public
focal_class.parameters: (T entity)
focal_class.return: void
focal_class.signature: void firePreDocumentEntity(T entity)
focal_class.class_method_signature: DefaultDocumentEventPersistManager.firePostDocumentEntity(T entity)
focal_class.full_signature: @Override public void firePostDocumentEntity(T entity)
focal_class.identifier: firePostDocumentEntity
focal_class.modifiers: @Override public
focal_class.parameters: (T entity)
focal_class.return: void
focal_class.signature: void firePostDocumentEntity(T entity)
focal_class.class_method_signature: DefaultDocumentEventPersistManager.firePreQuery(DocumentQuery query)
focal_class.full_signature: @Override public void firePreQuery(DocumentQuery query)
focal_class.identifier: firePreQuery
focal_class.modifiers: @Override public
focal_class.parameters: (DocumentQuery query)
focal_class.return: void
focal_class.signature: void firePreQuery(DocumentQuery query)
focal_class.class_method_signature: DefaultDocumentEventPersistManager.firePreDeleteQuery(DocumentDeleteQuery query)
focal_class.full_signature: @Override public void firePreDeleteQuery(DocumentDeleteQuery query)
focal_class.identifier: firePreDeleteQuery
focal_class.modifiers: @Override public
focal_class.parameters: (DocumentDeleteQuery query)
focal_class.return: void
focal_class.signature: void firePreDeleteQuery(DocumentDeleteQuery query)
focal_method.body: @Override
      public <T> void firePostEntity(T entity) {
          entityPostPersitEvent.fire(EntityPostPersit.of(entity));
      }
focal_method.class_method_signature: DefaultDocumentEventPersistManager.firePostEntity(T entity)
focal_method.full_signature: @Override public void firePostEntity(T entity)
focal_method.identifier: firePostEntity
focal_method.invocations: fire of
focal_method.modifiers: @Override public
focal_method.parameters: (T entity)
focal_method.return: void
focal_method.signature: void firePostEntity(T entity)