We pick up from the previous session by reviewing our Command and Command Bus. Our first task is to review how validation of required fields is happening before refactoring to a nicer solution. Next, we add available fields to the mix. We end up changing the expectations of what our validation method should do and have to change the Command Bus to support it as well. Finally, after a bit of manual testing, we set out to write unit tests for our Command validation.
Let's build a real-world Event Sourced application using Laravel and EventSauce!