{
// this test will attempt to check for reasonable behavior of the
// generateRandomBasedUUID method
// we need a instance to use
RandomBasedGenerator uuid_gen = Generators.randomBasedGenerator();
// for the random UUID generator, we will generate a bunch of
// random UUIDs
UUID uuid_array[] = new UUID[SIZE_OF_TEST_ARRAY];
// now create the array of uuids
for (int i = 0; i < uuid_array.length; i++)
{
uuid_array[i] = uuid_gen.generate();
}
// check that none of the UUIDs are null
checkUUIDArrayForNonNullUUIDs(uuid_array);