test_class.declarator: requestFactory = new TestActorRequestFactory(getClass())
test_class.modifier: private final
test_class.original_string: private final TestActorRequestFactory requestFactory = new TestActorRequestFactory(getClass());
test_class.type: TestActorRequestFactory
test_class.var_name: requestFactory
test_class.declarator: producerId
test_class.modifier: private
test_class.original_string: private Any producerId;
test_class.type: Any
test_class.var_name: producerId
test_class.declarator: origin
test_class.modifier: private
test_class.original_string: private CommandEnvelope origin;
test_class.type: CommandEnvelope
test_class.var_name: origin
test_class.file: server/src/test/java/io/spine/server/event/EventFactoryTest.java
test_class.identifier: EventFactoryTest
test_case.body: @Test
      @DisplayName("require producer ID")
      void requireProducerId() {
          assertThrows(NullPointerException.class, () -> EventFactory.on(origin, Tests.nullRef()));
      }
test_case.class_method_signature: EventFactoryTest.requireProducerId()
test_case.full_signature: @Test @DisplayName("require producer ID") void requireProducerId()
test_case.identifier: requireProducerId
test_case.invocations: assertThrows on nullRef
test_case.modifiers: @Test @DisplayName("require producer ID")
test_case.parameters: ()
test_case.return: void
test_case.signature: void requireProducerId()
focal_class.declarator: producerId
focal_class.modifier: private final
focal_class.original_string: private final Any producerId;
focal_class.type: Any
focal_class.var_name: producerId
focal_class.declarator: origin
focal_class.modifier: private final
focal_class.original_string: private final EventOrigin origin;
focal_class.type: EventOrigin
focal_class.var_name: origin
focal_class.file: server/src/main/java/io/spine/server/event/EventFactory.java
focal_class.identifier: EventFactory
focal_class.class_method_signature: EventFactory.EventFactory(EventOrigin origin, Any producerId)
focal_class.full_signature: protected  EventFactory(EventOrigin origin, Any producerId)
focal_class.identifier: EventFactory
focal_class.modifiers: protected
focal_class.parameters: (EventOrigin origin, Any producerId)
focal_class.signature:  EventFactory(EventOrigin origin, Any producerId)
focal_class.class_method_signature: EventFactory.on(MessageEnvelope origin, Any producerId)
focal_class.full_signature: public static EventFactory on(MessageEnvelope origin, Any producerId)
focal_class.identifier: on
focal_class.modifiers: public static
focal_class.parameters: (MessageEnvelope origin, Any producerId)
focal_class.return: EventFactory
focal_class.signature: EventFactory on(MessageEnvelope origin, Any producerId)
focal_class.class_method_signature: EventFactory.forImport(ActorContext actorContext, Any producerId)
focal_class.full_signature: public static EventFactory forImport(ActorContext actorContext, Any producerId)
focal_class.identifier: forImport
focal_class.modifiers: public static
focal_class.parameters: (ActorContext actorContext, Any producerId)
focal_class.return: EventFactory
focal_class.signature: EventFactory forImport(ActorContext actorContext, Any producerId)
focal_class.class_method_signature: EventFactory.createEvent(EventMessage message,
                               @Nullable Version version)
focal_class.full_signature: public Event createEvent(EventMessage message,
                               @Nullable Version version)
focal_class.identifier: createEvent
focal_class.modifiers: public
focal_class.parameters: (EventMessage message,
                               @Nullable Version version)
focal_class.return: Event
focal_class.signature: Event createEvent(EventMessage message,
                               @Nullable Version version)
focal_class.class_method_signature: EventFactory.createRejectionEvent(RejectionMessage message,
                                        @Nullable Version version,
                                        RejectionEventContext rejectionContext)
focal_class.full_signature: public Event createRejectionEvent(RejectionMessage message,
                                        @Nullable Version version,
                                        RejectionEventContext rejectionContext)
focal_class.identifier: createRejectionEvent
focal_class.modifiers: public
focal_class.parameters: (RejectionMessage message,
                                        @Nullable Version version,
                                        RejectionEventContext rejectionContext)
focal_class.return: Event
focal_class.signature: Event createRejectionEvent(RejectionMessage message,
                                        @Nullable Version version,
                                        RejectionEventContext rejectionContext)
focal_class.class_method_signature: EventFactory.doCreateEvent(EventMessage message, EventContext context)
focal_class.full_signature: private static Event doCreateEvent(EventMessage message, EventContext context)
focal_class.identifier: doCreateEvent
focal_class.modifiers: private static
focal_class.parameters: (EventMessage message, EventContext context)
focal_class.return: Event
focal_class.signature: Event doCreateEvent(EventMessage message, EventContext context)
focal_class.class_method_signature: EventFactory.validate(Message messageOrAny)
focal_class.full_signature: private static void validate(Message messageOrAny)
focal_class.identifier: validate
focal_class.modifiers: private static
focal_class.parameters: (Message messageOrAny)
focal_class.return: void
focal_class.signature: void validate(Message messageOrAny)
focal_class.class_method_signature: EventFactory.createEvent(EventId id, EventMessage message, EventContext context)
focal_class.full_signature: private static Event createEvent(EventId id, EventMessage message, EventContext context)
focal_class.identifier: createEvent
focal_class.modifiers: private static
focal_class.parameters: (EventId id, EventMessage message, EventContext context)
focal_class.return: Event
focal_class.signature: Event createEvent(EventId id, EventMessage message, EventContext context)
focal_class.class_method_signature: EventFactory.createContext(@Nullable Version version)
focal_class.full_signature: private EventContext createContext(@Nullable Version version)
focal_class.identifier: createContext
focal_class.modifiers: private
focal_class.parameters: (@Nullable Version version)
focal_class.return: EventContext
focal_class.signature: EventContext createContext(@Nullable Version version)
focal_class.class_method_signature: EventFactory.createContext(@Nullable Version version,
                                         RejectionEventContext rejectionContext)
focal_class.full_signature: private EventContext createContext(@Nullable Version version,
                                         RejectionEventContext rejectionContext)
focal_class.identifier: createContext
focal_class.modifiers: private
focal_class.parameters: (@Nullable Version version,
                                         RejectionEventContext rejectionContext)
focal_class.return: EventContext
focal_class.signature: EventContext createContext(@Nullable Version version,
                                         RejectionEventContext rejectionContext)
focal_class.class_method_signature: EventFactory.newContext(@Nullable Version version)
focal_class.full_signature: @SuppressWarnings("CheckReturnValue") // calling builder private EventContext.Builder newContext(@Nullable Version version)
focal_class.identifier: newContext
focal_class.modifiers: @SuppressWarnings("CheckReturnValue") // calling builder private
focal_class.parameters: (@Nullable Version version)
focal_class.return: EventContext.Builder
focal_class.signature: EventContext.Builder newContext(@Nullable Version version)
focal_method.body: public static EventFactory on(MessageEnvelope origin, Any producerId) {
          checkNotNull(origin);
          checkNotNull(producerId);
          EventOrigin eventOrigin = fromAnotherMessage(origin);
          return new EventFactory(eventOrigin, producerId);
      }
focal_method.class_method_signature: EventFactory.on(MessageEnvelope origin, Any producerId)
focal_method.full_signature: public static EventFactory on(MessageEnvelope origin, Any producerId)
focal_method.identifier: on
focal_method.invocations: checkNotNull checkNotNull fromAnotherMessage
focal_method.modifiers: public static
focal_method.parameters: (MessageEnvelope origin, Any producerId)
focal_method.return: EventFactory
focal_method.signature: EventFactory on(MessageEnvelope origin, Any producerId)