diff --git a/vertx-grpc/src/test/java/io/vertx/ext/grpc/NativeTransportTest.java b/vertx-grpc/src/test/java/io/vertx/ext/grpc/NativeTransportTest.java index f5e675c..8211c38 100644 --- a/vertx-grpc/src/test/java/io/vertx/ext/grpc/NativeTransportTest.java +++ b/vertx-grpc/src/test/java/io/vertx/ext/grpc/NativeTransportTest.java @@ -2,8 +2,7 @@ import examples.GreeterGrpc; import io.vertx.core.*; -import io.vertx.core.impl.VertxBootstrapImpl; -import io.vertx.core.spi.transport.Transport; +import io.vertx.core.transport.Transport; import io.vertx.ext.unit.TestContext; import io.vertx.ext.unit.junit.VertxUnitRunner; import io.vertx.grpc.VertxServerBuilder; @@ -41,7 +40,7 @@ private void testInternal(TestContext ctx, Vertx vertx) { } private void assumeNativeTransport() { - Transport nativeTransport = VertxBootstrapImpl.nativeTransport(); - Assume.assumeTrue(nativeTransport != null && nativeTransport.isAvailable()); + Transport nativeTransport = Transport.nativeTransport(); + Assume.assumeTrue(nativeTransport != null && nativeTransport.available()); } }