public async Task WhenHandlingCommand_ShouldUpdateTheEndDate()
        {
            var f = new EditEndDateRequestCommandHandlerTestsFixture();
            await f.Handle();

            f.VerifyEndDateUpdated();
        }
        public void WhenHandlingCommand_IfPartyIsNotEmployer_Then_ThrowDomainException(Party party)
        {
            var f = new EditEndDateRequestCommandHandlerTestsFixture();

            f.Party = party;

            Assert.ThrowsAsync <DomainException>(async() => await f.Handle());
        }