PHPUnit_Framework_Assert::containsOnly

Returns a PHPUnit_Framework_Constraint_TraversableContainsOnly matcher object.