public function testExceptionIfObjectIsPassedAsList()
{
$this->setExpectedException('Functional\\Exceptions\\InvalidArgumentException', "func() expects parameter 2 to be array or instance of Traversable");
InvalidArgumentException::assertCollection(new \stdClass(), 'func', 2);
}