@Test @DisplayName("obtain actor context") void getActorContext() { Command command = outerObject(); CommandEnvelope envelope = toEnvelope(command); assertThat(envelope.actorContext()) .isEqualTo(command.actorContext()); }
@Override public ActorContext actorContext() { return context().getActorContext(); }
CommandEnvelope extends AbstractMessageEnvelope<CommandId, Command, CommandContext> implements SignalEnvelope<CommandId, Command, CommandContext> { @Override public ActorContext actorContext() { return context().getActorContext(); } }
CommandEnvelope extends AbstractMessageEnvelope<CommandId, Command, CommandContext> implements SignalEnvelope<CommandId, Command, CommandContext> { @Override public ActorContext actorContext() { return context().getActorContext(); } private  CommandEnvelope(Command command); }
CommandEnvelope extends AbstractMessageEnvelope<CommandId, Command, CommandContext> implements SignalEnvelope<CommandId, Command, CommandContext> { @Override public ActorContext actorContext() { return context().getActorContext(); } private  CommandEnvelope(Command command); static CommandEnvelope of(Command command); Command command(); @Override TenantId tenantId(); @Override CommandId id(); @Override CommandMessage message(); @Override CommandClass messageClass(); @Override ActorContext actorContext(); @Override Origin asMessageOrigin(); @Override CommandContext context(); TypeName messageTypeName(); }
CommandEnvelope extends AbstractMessageEnvelope<CommandId, Command, CommandContext> implements SignalEnvelope<CommandId, Command, CommandContext> { @Override public ActorContext actorContext() { return context().getActorContext(); } private  CommandEnvelope(Command command); static CommandEnvelope of(Command command); Command command(); @Override TenantId tenantId(); @Override CommandId id(); @Override CommandMessage message(); @Override CommandClass messageClass(); @Override ActorContext actorContext(); @Override Origin asMessageOrigin(); @Override CommandContext context(); TypeName messageTypeName();  }