IMO any "dumping" of unwanted animals is heartless and cruel.
They can be handed in to RSPCA, rescue centres, animal charities...any of these organisations will do what's needed to avoid unnecessary suffering.
Leaving them in a box at the side of a country road, not knowing how long it would be before they are found, if indeed they are going to be found before they die, is unforgivable.