function int(str) {
    return parseInt(str, 10);
  }
@ngdoc method
@name ngMock.$log#assertEmpty
@methodOf ngMock.$log

@description
Assert that the all of the logging methods have no logged messages. If messages present, an exception is thrown.