fun beUUID(version: UUIDVersion = ANY, considerNilValid: Boolean = true): Matcher<String>
Matcher that verifies if a String is an UUID
Verifies that a string is a valid UUID as per RFC4122. Version depends on version. By default, all versions (v1 through v5) are matched. A special attention is necessary for the NIL UUID (an UUID with all zeros), which is considered a valid UUID. By default it's matched as valid.
See Also