Class Junit5Util
java.lang.Object
io.helidon.webserver.testing.junit5.Junit5Util
Utility methods for JUnit5 extensions.
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
socketName
(Parameter parameter) Discover socket name usingSocket
annotation.
-
Method Details
-
socketName
Discover socket name usingSocket
annotation. If none found,WebServer.DEFAULT_SOCKET_NAME
is returned.- Parameters:
parameter
- parameter to check- Returns:
- name of the socket the parameter belongs to
-