Пример #1
0
        public void TokenIsValidTest()
        {
            mockUserRepo.Setup(r => r.GetById(It.IsAny <int>())).Returns(userWithAllData);
            var user = userBLWithoutTeamBL.TokenIsValid(It.IsAny <Guid>().ToString());

            mockUserRepo.Verify(x => x.Get(null, null, ""), Times.Once);
        }