예제 #1
0
        public void GetAllExperiences_TryToGetSomeList_ShouldRepositoryCallOnce_ShouldReturnNotNullList()
        {
            expRepository.Setup(x => x.GetAll()).Returns(new List <ResumesExperience>()
            {
            });

            //act & assert
            NUnit.Framework.Assert.IsNotNull(expService.GetAllExperiences());
            expRepository.Verify(x => x.GetAll());
        }