Michigan same-sex marriage law goes to trial