Both sides will have to wait 30 days for the judge to make a decision.
Unions are still trying to convince the courts to strike down Indiana's right to work legislation, but the battle is difficult and, some say, futile.
Daniels says Right-to-work is one of the key achievements of Indiana's 2012 legislative session.
The General Assembly passes controversial bills on topics ranging from Right to Work to human trafficking.
The International Union of Operating Engineers Local 150 has filed suit saying the newly passed right-to-work legislation is illegal.
Unions are trying to minimize the effects of the legislation before the deadline.
The passage of right-to-work was the big news this week at the statehouse, but the legislature also passed some other prominent bills.
Bill passes 28-22 and now awaits Governor Daniels' signature.
Democrats boycotted a right-to-work hearing Monday in the Senate as a sign of protest.
The major news out of the statehouse this week was the passage of right-to-work in the Indiana House of Representatives.