diff --git a/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/rsocket/netty/NettyRSocketServerFactoryTests.java b/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/rsocket/netty/NettyRSocketServerFactoryTests.java index 5bdf1314f3..1ec436f57d 100644 --- a/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/rsocket/netty/NettyRSocketServerFactoryTests.java +++ b/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/rsocket/netty/NettyRSocketServerFactoryTests.java @@ -22,7 +22,6 @@ import java.util.Arrays; import java.util.concurrent.Callable; import io.netty.buffer.PooledByteBufAllocator; -import io.rsocket.AbstractRSocket; import io.rsocket.ConnectionSetupPayload; import io.rsocket.Payload; import io.rsocket.RSocket; @@ -202,7 +201,7 @@ class NettyRSocketServerFactoryTests { @Override public Mono accept(ConnectionSetupPayload setupPayload, RSocket rSocket) { - return Mono.just(new AbstractRSocket() { + return Mono.just(new RSocket() { @Override public Mono requestResponse(Payload payload) { return Mono.just(DefaultPayload.create(payload));