コード例 #1
0
        public bool StorageService_WithdrawPointsCountInfoOutput_ExpectedResult(string info)
        {
            AccountOwner   owner   = new AccountOwner("Kirill", "Fidz");
            IidGenerator   gen     = new IdGeneratorBIC();
            IPointsCounter counter = new PointsCounter();
            string         id      = service.CreateNewAccount(AccountTypes.Basic, owner, gen, counter);

            service.Deposit(id, 1000);
            string result = info.Replace("tochange", id);

            return(result == service.AccInfo(id));
        }