public void ApplyEvent_WhenEventIsNotRegisteredWithAggregate_Throws()
        {
            var aggregate = new TestAggregate(Guid.NewGuid());

            var exception = Assert.Throws <EventHandlerNotFoundException>(
                () => aggregate.RaiseUnregisteredEvent());

            exception.AggregateType.Should().Be(typeof(TestAggregate));

            _output.WriteLine(exception.Message);
        }