Exemplo n.º 1
0
        private IHtmlGenerator GetXtbGenerator()
        {
            var       balance          = _xtbService.GetBalance();
            XtbOutput balanceOutput    = _mapper.Map <XtbOutput>(balance);
            var       xtbHtmlGenerator = _emailGeneratorFactory.GetGenerator(EmailGenerator.Xtb);

            xtbHtmlGenerator.SetBodyData(balanceOutput);

            return(xtbHtmlGenerator);
        }
Exemplo n.º 2
0
        public void Test1()
        {
            var balance = _xtbService.GetBalance();

            Assert.AreNotEqual(0, balance);
        }