@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-07-09T19:17:34.244Z") @Stability(value=Experimental) public abstract class Matcher extends software.amazon.jsii.JsiiObject
| Modifier | Constructor and Description |
|---|---|
protected |
Matcher() |
protected |
Matcher(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
Matcher(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
abstract String |
getName()
(experimental) A name for the matcher.
|
static Boolean |
isMatcher(Object x)
(experimental) Check whether the provided object is a subtype of the `IMatcher`.
|
abstract MatchResult |
test(Object actual)
(experimental) Test whether a target matches the provided pattern.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected Matcher(software.amazon.jsii.JsiiObjectRef objRef)
protected Matcher(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental) protected Matcher()
@Stability(value=Experimental) @NotNull public static Boolean isMatcher(@NotNull Object x)
x - This parameter is required.@Stability(value=Experimental) @NotNull public abstract MatchResult test(@NotNull Object actual)
actual - the target to match. This parameter is required.@Stability(value=Experimental) @NotNull public abstract String getName()
This is collected as part of the result and may be presented to the user.
Copyright © 2021. All rights reserved.