DigipostClientLibWebapp.Controllers.IdentifyController.Index C# (CSharp) 메소드

Index() 공개 메소드

public Index ( ) : System.Web.Mvc.ActionResult
리턴 System.Web.Mvc.ActionResult
        public ActionResult Index()
        {
            return View();
        }

Usage Example

        public void Index()
        {
            // Arrange
            var serviceMock = new Mock<IDigipostService>();
            var controller = new IdentifyController(serviceMock.Object);

            // Act
            var result = controller.Index() as ViewResult;

            // Assert
            Assert.IsNotNull(result);
        }