ImplementsInterfaceTrait
trait ImplementsInterfaceTrait
Methods
static void
assertThat(mixed $value, Constraint $constraint, string $message = '')
Evaluates a \PHPUnit\Framework\Constraint\Constraint matcher object.
static void
assertImplementsInterface(string $interface, mixed $subject, string $message = '')
Asserts that $subject implements $interface.
static void
assertNotImplementsInterface(string $interface, mixed $subject, string $message = '')
Asserts that $subject does not implement $interface.
static ImplementsInterface
implementsInterface(string $interface)
Checks classes that they implement $interface.
Details
at line 29
abstract static void
assertThat(mixed $value, Constraint $constraint, string $message = '')
Evaluates a \PHPUnit\Framework\Constraint\Constraint matcher object.
at line 42
static void
assertImplementsInterface(string $interface, mixed $subject, string $message = '')
Asserts that $subject implements $interface.
at line 58
static void
assertNotImplementsInterface(string $interface, mixed $subject, string $message = '')
Asserts that $subject does not implement $interface.
at line 70
static ImplementsInterface
implementsInterface(string $interface)
Checks classes that they implement $interface.