test_class.file: server/src/test/java/io/spine/server/event/store/EEntityTest.java
test_class.identifier: EEntityTest
test_case.body: @Test
      @DisplayName("clear enrichments from an event")
      void clearEnrichments() {
          Enrichment enrichment = GivenEnrichment.withOneAttribute();
          Event event = GivenEvent.arbitrary();
          EventContext contextWithEnrichment = event
                  .getContext()
                  .toBuilder()
                  .setEnrichment(enrichment)
                  .build();
          Event eventWithEnrichment = event
                  .toBuilder()
                  .setContext(contextWithEnrichment)
                  .build();
          EEntity entity = EEntity.create(eventWithEnrichment);
  
          assertThat(entity.state()).isEqualTo(event);
      }
test_case.class_method_signature: EEntityTest.clearEnrichments()
test_case.full_signature: @Test @DisplayName("clear enrichments from an event") void clearEnrichments()
test_case.identifier: clearEnrichments
test_case.invocations: withOneAttribute arbitrary build setEnrichment toBuilder getContext build setContext toBuilder create isEqualTo assertThat state
test_case.modifiers: @Test @DisplayName("clear enrichments from an event")
test_case.parameters: ()
test_case.return: void
test_case.signature: void clearEnrichments()
focal_class.declarator: CREATED_COLUMN = "created"
focal_class.modifier: static final
focal_class.original_string: static final String CREATED_COLUMN = "created";
focal_class.type: String
focal_class.var_name: CREATED_COLUMN
focal_class.declarator: typeName
focal_class.modifier: private @MonotonicNonNull
focal_class.original_string: private @MonotonicNonNull TypeName typeName;
focal_class.type: TypeName
focal_class.var_name: typeName
focal_class.file: server/src/main/java/io/spine/server/event/store/EEntity.java
focal_class.identifier: EEntity
focal_class.class_method_signature: EEntity.create(Event event)
focal_class.full_signature: static EEntity create(Event event)
focal_class.identifier: create
focal_class.modifiers: static
focal_class.parameters: (Event event)
focal_class.return: EEntity
focal_class.signature: EEntity create(Event event)
focal_class.class_method_signature: EEntity.EEntity(EventId id)
focal_class.full_signature: private  EEntity(EventId id)
focal_class.identifier: EEntity
focal_class.modifiers: private
focal_class.parameters: (EventId id)
focal_class.signature:  EEntity(EventId id)
focal_class.class_method_signature: EEntity.getCreated()
focal_class.full_signature: @SystemColumn(name = CREATED_COLUMN) public Timestamp getCreated()
focal_class.identifier: getCreated
focal_class.modifiers: @SystemColumn(name = CREATED_COLUMN) public
focal_class.parameters: ()
focal_class.return: Timestamp
focal_class.signature: Timestamp getCreated()
focal_class.class_method_signature: EEntity.getType()
focal_class.full_signature: @SystemColumn(name = "type") public String getType()
focal_class.identifier: getType
focal_class.modifiers: @SystemColumn(name = "type") public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getType()
focal_class.superclass: extends TransactionalEntity<EventId, Event, Event.Builder>
focal_method.body: static EEntity create(Event event) {
          Factory factory = new Factory(event);
          EEntity result = factory.create();
          return result;
      }
focal_method.class_method_signature: EEntity.create(Event event)
focal_method.full_signature: static EEntity create(Event event)
focal_method.identifier: create
focal_method.invocations: create
focal_method.modifiers: static
focal_method.parameters: (Event event)
focal_method.return: EEntity
focal_method.signature: EEntity create(Event event)