Wavefronts are incident on a boundary. What is needed for the wave to refract at the boundary?
a small gap in the boundary
different mediums at either side of the boundary in which the speed of the wave is different
a shiny surface at the boundary
different mediums at either side of the boundary in which the frequency of the wave is different