String getWindowLocationHash( )

We need to override these methods during test.

Source

/// We need to override these methods during test.
String getWindowLocationHash() {
  return window.location.hash;
}