public async Task FilterServices_SendNullData_ReturnRedirect() { // Arrange ServiceListingsController controller = new ServiceListingsController(context); // Act var actionResult = await controller.FilterServices(null); // Assert Assert.IsType <ViewResult>(actionResult); }
public async Task FilterServices_SendViableValues_ReturnView() { // Arrange ServiceListingsController controller = new ServiceListingsController(context); // Act var actionResult = await controller.FilterServices("Hello"); // Assert Assert.IsType <ViewResult>(actionResult); }