Also, URLMock 1.1 includes a function called `UMKGeneratedArrayWithElementCount`. You’d use it like this:

    return UMKGeneratedArrayWithElementCount(1 + random() % maxElementCountPerCollection, ^id(NSUInteger index){
        return maxNestingDepth && UMKRandomBoolean() ? TWTRandomArray(maxNestingDepth - 1, maxElementCountPerCollection) : UMKRandomUnsignedNumber();
    }