public function testTestCreateForInvalidLimitValueForRecursiveCalls()
{
$exception = InvalidArgumentExceptionFactory::createForInvalidLimitValueForRecursiveCalls(10);
$this->assertEquals('Expected limit for recursive calls to be of at least 2. Got "10" instead.', $exception->getMessage());
$this->assertEquals(0, $exception->getCode());
$this->assertNull($exception->getPrevious());
}