public void then_the_election_balance_is_updated()
        {
            var claimDisbursedEvent = new ClaimDisbursedEvent
                {
                    ClaimAmount = 20,
                    ClaimId = Guid.NewGuid().ToString(),
                    DisbursementAmount = 20,
                    ElectionId = _electionId,
                };

            //this line is commented because we dont want this test to update the value of the election balance
            //_eventHandler.Handle(claimDisbursedEvent);

        }
 private void RaiseClaimDisbursedEvent(DisburseClaim command, string electionId)
 {
     var claimDisbursed = new ClaimDisbursedEvent
         {
             ClaimAmount = _state.ClaimAmount.Amount,
             ClaimId = command.ClaimId,
             DisbursementAmount = _state.ClaimAmount.Amount,
             ElectionId = electionId,
         };
     ApplyEvent(claimDisbursed, @event => _state.Apply(@event));
 }
 private void When(ClaimDisbursedEvent @event)
 {
     CurrentClaimState = ClaimRequestStateEnum.Disbursed;
 }