Laboratory testing involves analyzing soil samples to determine their physical and mechanical properties.