Mario Gomez struck as world champions Germany beat Northern Ireland 1-0 in Paris on Tuesday to qualify for the Euro 2016 knockout phase as winners of Group C.