protected override void Context() { _bus = Resolve<IServiceBus>(); _sequenceRepository = Resolve<ISequenceRepository>(); _tenantContext = Resolve<ITenantContext>(); _bus.PublishDomainUpdate(new [] { new SequenceNumberAdded(_id, 1) { Version = 1 }}, Metadata(1)); }