trait HandlesAssertions

Provides assertion helpers for test cases.

Methods

void
markTestSkippedUnless(bool|Closure|null $condition, string $message)

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

void
markTestSkippedWhen(bool|Closure|null $condition, string $message)

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

Details

at line 19
protected void markTestSkippedUnless(bool|Closure|null $condition, string $message)

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

Parameters

bool|Closure|null $condition
string $message

Return Value

void

at line 32
protected void markTestSkippedWhen(bool|Closure|null $condition, string $message)

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

Parameters

bool|Closure|null $condition
string $message

Return Value

void