docs: function (evt) {
                  if (!this._expectedEventsList) {
                      this.$raiseEvent({
                          name : "failure",
                          testClass : this.$classpath,
                          testState : this._currentTestName,
                          description : 'Unexpected event: ' + evt.name
                      });
                  } else {
                      var expectedevt = this._expectedEventsList[this._eventIndexInList];
                      var diff = diffObjects(evt, expectedevt);
                      if (diff) {
                          this.$raiseEvent({
                              name : "failure",
                              testClass : this.$classpath,
                              testState : this._currentTestName,
                              description : 'Event does not respect what was expected (expected: ' + expectedevt.name
                                      + ', occured: ' + evt.name + ', unmatching property: ' + diff.join('.') + ')'
                          });
                      }
                      this._eventIndexInList++;
                      if (this._eventIndexInList >= this._expectedEventsList.length) {
                          this._expectedEventsList = null;
                      }
                  }
              }