def METHOD_NAME(self, names):
    # Create the Racks
    location_type = models.LocationType.objects.get(name="Campus")
    location = models.Location.objects.filter(location_type=location_type).first()
    status = extras_models.Status.objects.get_for_model(models.Rack).first()
    models.Rack.objects.bulk_create(models.Rack(name=name, location=location, status=status) for name in names)
    # Validate forward ordering
    self.assertEqual(names, list(models.Rack.objects.filter(name__in=names).values_list("name", flat=True)))
    # Validate reverse ordering
    self.assertEqual(
        list(reversed(names)),
        list(models.Rack.objects.filter(name__in=names).reverse().values_list("name", flat=True)),
    )