A Queensland court will hear evidence of how plans to build Australia's biggest coal mine in the Galilee Basin could damage the Great Barrier Reef.