PHPUnit_Framework_Assert::assertContainsOnly
Asserts that a haystack contains only values of a given type.
Signature
public function assertContainsOnly(string
$type,
[mixed
$haystack = null,
[boolean
$isNativeType = null,
[string
$message = '']]] )
Parameters
$type
— string$haystack
— mixed$isNativeType
— boolean$message
— string