public void GetReturnsOkResponse() { // Arrange var controller = new RegistrationController(_controllerLogic); controller.Request = new HttpRequestMessage(); controller.Configuration = new HttpConfiguration(); // Act var response = controller.GetSecurityQuestions(); // Assert Assert.IsType <OkResult>(response); }