public void Enrol_ReturnsOkResult() { var enrol = _authController.Enrol(new EnrolModel { Email = "*****@*****.**", Password = "******", Username = "******" }); Assert.IsType <OkObjectResult>(enrol.Result); }