예제 #1
0
        public void AddAndGetAccountCharge()
        {
            var request = new AccountChargeRequest
            {
                Id            = Guid.NewGuid(),
                Name          = "1000",
                AccountNumber = "1000",
                Questions     = new[]
                {
                    new AccountChargeQuestion
                    {
                        Question = "Question?",
                        Answer   = "Answer"
                    }
                }
            };

            _sut.CreateAccountCharge(request);

            var account = _sut.GetAccountCharge(request.AccountNumber);

            Assert.That(account, Is.Not.Null);
        }