public async void unit_test_Create_success() { //Arrange HeaderRequest test = new HeaderRequest() { Username = "******", Email = "*****@*****.**", Password = "******" }; //Act var result = await _uut.Create(test); //Assert Xunit.Assert.IsType <OkResult>(result); }
public void Get_ViewResult_Create_Test() { //Arrange SignupController controller = new SignupController(); //Act var result = controller.Create(); //Assert Assert.IsType <ViewResult>(result); }