Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Eng committed Oct 15, 2013
1 parent 999ba24 commit b5fbfe2
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -219,7 +219,7 @@ public void generatesDocumentStatsOnTuUpdate() {
documentListPresenter.setDocuments(buildSampleDocumentArray());
documentListPresenter.onTransUnitUpdated(mockEvent);

verify(mockEventBus, times(1)).fireEvent(
verify(mockEventBus, times(2)).fireEvent(
capturedEventBusEvent.capture());

DocumentStatsUpdatedEvent docStatsEvent = null;
Expand Down Expand Up @@ -557,7 +557,7 @@ public void queryStats() {

verify(mockEventBus, times(3)).fireEvent(
isA(DocumentStatsUpdatedEvent.class));
verify(mockEventBus, times(3)).fireEvent(
verify(mockEventBus, times(1)).fireEvent(
isA(RefreshProjectStatsEvent.class));
}

Expand Down

0 comments on commit b5fbfe2

Please sign in to comment.