11/*
2- * Copyright 2002-2016 the original author or authors.
2+ * Copyright 2002-2018 the original author or authors.
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
2424import org .springframework .http .HttpStatus ;
2525import org .springframework .http .ResponseEntity ;
2626import org .springframework .http .client .ClientHttpResponse ;
27- import org .springframework .http .server .reactive .bootstrap .ReactorHttpServer ;
2827import org .springframework .web .client .ResponseErrorHandler ;
2928import org .springframework .web .client .RestTemplate ;
3029
31- import static org .junit .Assert .assertEquals ;
32- import static org .junit .Assume .assumeFalse ;
30+ import static org .junit .Assert .*;
3331
3432/**
3533 * @author Arjen Poutsma
@@ -45,9 +43,6 @@ protected HttpHandler createHttpHandler() {
4543
4644 @ Test
4745 public void responseBodyError () throws Exception {
48- // TODO: fix Reactor
49- assumeFalse (server instanceof ReactorHttpServer );
50-
5146 RestTemplate restTemplate = new RestTemplate ();
5247 restTemplate .setErrorHandler (NO_OP_ERROR_HANDLER );
5348
@@ -59,9 +54,6 @@ public void responseBodyError() throws Exception {
5954
6055 @ Test
6156 public void handlingError () throws Exception {
62- // TODO: fix Reactor
63- assumeFalse (server instanceof ReactorHttpServer );
64-
6557 RestTemplate restTemplate = new RestTemplate ();
6658 restTemplate .setErrorHandler (NO_OP_ERROR_HANDLER );
6759
0 commit comments