Annotation Type ProvidedBy
Parameter annotation used on
Vertx test method or constructor parameters
to specify a VertxProvider implementation that supplies the Vertx instance.
The provider class must have a public no-arg constructor.
Usage example:
@Test
void myTest(@ProvidedBy(MyProvider.class) Vertx vertx) {
// vertx is created by MyProvider
}
-
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionClass<? extends VertxProvider> TheVertxProviderimplementation class to use for creating theVertxinstance.
-
Element Details
-
value
Class<? extends VertxProvider> valueTheVertxProviderimplementation class to use for creating theVertxinstance.
-