示例#1
0
        public void GetReturnsListOfSpecialties()
        {
            //Arrange
            getter.Setup(g => g.Get()).ReturnsAsync(new List <Specialty>() as IEnumerable <Specialty>);

            //Act
            var result = controller.Get().Result;

            //Assert
            Assert.IsInstanceOfType(result, typeof(IEnumerable <Specialty>));
        }