PHPUnit_Framework_Assert::assertContainsOnly

Asserts that a haystack contains only values of a given type.