public void GetCustomersByTown() { GetReady(); var actRes = controller.GetByTown(1); var response = actRes.ExecuteAsync(CancellationToken.None).Result; Assert.IsNotNull(response.Content); }