@Test public void shouldOrderBlobsAlphabetically() {
// given
CommonViewer viewer = mock(CommonViewer.class);
GitChangeSetSorter sorter = new GitChangeSetSorter();
GitModelBlob blob1 = mock(GitModelBlob.class);
GitModelBlob blob2 = mock(GitModelBlob.class);
ILabelProvider labelProvider = mock(ILabelProvider.class);
when(labelProvider.getText(blob1)).thenReturn("aaa");
when(labelProvider.getText(blob2)).thenReturn("zzz");
when(viewer.getLabelProvider()).thenReturn(labelProvider);