The connection is that they're highly controversial views from different groups. The professor is saying he was giving his students a chance to critically engage with various controversial ideas to sharpen their reasoning skills, and to get them used to dealing with views that might be quite contradictory to their own or to the mainstream.