Exemple #1
0
        public void PhoneServiceGetData()
        {
            memoryCache = new Mock <IMemoryCache>();

            IPhoneService phoneService = new PhoneService(memoryCache.Object);

            var data = phoneService.GetData("4407492743");

            Assert.AreEqual(30, data.Combinations.Count);
            Assert.AreEqual(30, data.Total);
        }