public async Task MarkActiveWhileActive()
        {
            Context.UoW.Plan <Example.Todo.Todo>(Context.Id())
            .HasEvent <Example.Todo.Events.Added>(x =>
            {
                x.TodoId  = Context.Id();
                x.Message = "test";
            });

            var command = new Example.Todo.Commands.MarkActive
            {
                TodoId = Context.Id(),
            };

            var ex = await Record.ExceptionAsync(() => Sut.Handle(command, Context)).ConfigureAwait(false);

            ex.Should().BeOfType <BusinessException>();
        }
        public async Task HandleMarkActive()
        {
            Context.UoW.Plan <Example.Todo.Todo>(Context.Id())
            .HasEvent <Example.Todo.Events.Added>(x =>
            {
                x.TodoId  = Context.Id();
                x.Message = "test";
            })
            .HasEvent <Example.Todo.Events.MarkedComplete>(x =>
            {
                x.TodoId = Context.Id();
            });

            var command = new Example.Todo.Commands.MarkActive
            {
                TodoId = Context.Id(),
            };

            await Sut.Handle(command, Context).ConfigureAwait(false);

            Context.UoW
            .Check <Example.Todo.Todo>(Context.Id())
            .Raised <Example.Todo.Events.MarkedActive>();
        }