예제 #1
0
        public void GeTypesTest()
        {
            _typesRepo.Setup(x => x.GetAll()).
            Returns(_data);
            var types = _typesService.GetTypes();

            Assert.AreEqual(2, types.Count);
        }