示例#1
0
        public void getSkillType()
        {
            // Arrange
            SkillTypeController controller = new SkillTypeController();

            var actResult = controller.Get(1);
            // Act
            var result = actResult as OkNegotiatedContentResult <SkillType>;

            // Assert
            Assert.IsNotNull(result);
            Assert.IsTrue(result.Content.ID == 1);
        }