public void ShouldRecognizePostServiceChargeCommand(int memberId, decimal amount)
        {
            var expectedPostServiceChargeCommand = new PostServiceChargeCommand(memberId, amount);
            var command = $"ServiceCharge {memberId} {amount}";

            var postServiceChargeCommand = PostServiceChargeCommandParser.Parse(command);

            postServiceChargeCommand.Should().Be(expectedPostServiceChargeCommand);
        }
        public void ShouldErrorWhenCommandStructureIsInappropriate(string command)
        {
            Action commandExecutor = () => PostServiceChargeCommandParser.Parse(command);

            commandExecutor.ShouldThrow <PostServiceChargeCommandStructureException>();
        }