Attorneys have argued in federal court in Charleston over anti-union statements by Gov. Nikki Haley and the head of the state labor department.