public void WithAmount50ShouldCreateADebitOf50()
        {
            var subject = new DebitLedgerTransaction();

            LedgerTransaction result = subject.WithAmount(50);

            Assert.AreEqual(50M, result.Debit);
        }
        public void WithAmount50ShouldReturnSameObjectForChaining()
        {
            var subject = new DebitLedgerTransaction();

            LedgerTransaction result = subject.WithAmount(50);

            Assert.AreSame(subject, result);
        }
        public void WithAmount50ShouldAZeroCreditAmount()
        {
            var subject = new DebitLedgerTransaction();

            LedgerTransaction result = subject.WithAmount(50);

            Assert.AreEqual(0M, result.Credit);
        }