assertReplaceHistoryState(state, title, url) {
    assertObjectEquals(state, this.lastHistoryState_);
    assertEquals(title, this.lastHistoryTitle_);
    assertEquals(url, this.lastHistoryUrl_);
    this.lastHistoryState_ = null;
    this.lastHistoryTitle_ = null;
    this.lastHistoryUrl_ = null;
  }
Asserts replaceHistoryState is called with provided history state.
@param {!Object} state The last history state to assert.
@param {string} title The associated document title.
@param {string} url The associated URL.