abstract class Assert extends Assert

Methods

static void
assertArraySubset(ArrayAccess|array $subset, ArrayAccess|array $array, bool $checkForIdentity = false, string $msg = '')

Assert that an array has a specified subset.

from  Assert
static void
markTestSkippedUnless(bool $condition, string $message = '')

Mark the test as skipped when condition is not equivalent to true.

static void
markTestSkippedWhen(bool $condition, string $message = '')

Mark the test as skipped when condition is equivalent to true.

Details

in Assert at line 19
static void assertArraySubset(ArrayAccess|array $subset, ArrayAccess|array $array, bool $checkForIdentity = false, string $msg = '')

Assert that an array has a specified subset.

Parameters

ArrayAccess|array $subset
ArrayAccess|array $array
bool $checkForIdentity
string $msg

Return Value

void

at line 14
static void markTestSkippedUnless(bool $condition, string $message = '')

Mark the test as skipped when condition is not equivalent to true.

Parameters

bool $condition
string $message

Return Value

void

at line 24
static void markTestSkippedWhen(bool $condition, string $message = '')

Mark the test as skipped when condition is equivalent to true.

Parameters

bool $condition
string $message

Return Value

void