public final class Assertions
extends java.lang.Object
Assertions
,
Truth
, and Truth8
.Modifier and Type | Method and Description |
---|---|
static java.lang.IllegalArgumentException |
assertIllegalArgument(org.junit.jupiter.api.function.Executable e)
Asserts that running the passed executable causes
IllegalArgumentException . |
static java.lang.IllegalStateException |
assertIllegalState(org.junit.jupiter.api.function.Executable e)
Asserts that running the passed executable causes
IllegalStateException . |
static java.lang.NullPointerException |
assertNpe(org.junit.jupiter.api.function.Executable e)
Asserts that running the passed executable cases
NullPointerException . |
static io.spine.type.UnknownTypeException |
assertUnknownType(org.junit.jupiter.api.function.Executable e)
Asserts that running the passed executable causes
UnknownTypeException . |
@CanIgnoreReturnValue public static java.lang.IllegalArgumentException assertIllegalArgument(org.junit.jupiter.api.function.Executable e)
IllegalArgumentException
.@CanIgnoreReturnValue public static java.lang.IllegalStateException assertIllegalState(org.junit.jupiter.api.function.Executable e)
IllegalStateException
.@CanIgnoreReturnValue public static io.spine.type.UnknownTypeException assertUnknownType(org.junit.jupiter.api.function.Executable e)
UnknownTypeException
.@CanIgnoreReturnValue public static java.lang.NullPointerException assertNpe(org.junit.jupiter.api.function.Executable e)
NullPointerException
.