@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-07T23:47:15.986Z") @Stability(value=Experimental) public enum AssertionType extends Enum<AssertionType>
| Enum Constant and Description |
|---|
ARRAY_WITH
(experimental) Matches the specified pattern with the array The set of elements must be in the same order as would be found.
|
EQUALS
(experimental) Assert that two values are equal.
|
OBJECT_LIKE
(experimental) The keys and their values must be present in the target but the target can be a superset.
|
| Modifier and Type | Method and Description |
|---|---|
static AssertionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AssertionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Stability(value=Experimental) public static final AssertionType EQUALS
@Stability(value=Experimental) public static final AssertionType OBJECT_LIKE
@Stability(value=Experimental) public static final AssertionType ARRAY_WITH
public static AssertionType[] values()
for (AssertionType c : AssertionType.values()) System.out.println(c);
public static AssertionType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2022. All rights reserved.