public void testAtLeastOne() {
assertEquals(1, DeltaInfoBar.calculateBars(1, LARGE_TOTAL));
}
public void testBarCount() {
DiffStatsDtoImpl diffStats = (DiffStatsDtoImpl) DiffStatsDtoImpl.create();
diffStats
.setAdded(ADDED_LINES)
.setChanged(CHANGED_LINES)
.setDeleted(DELETED_LINES)
.setUnchanged(UNCHANGED_LINES);
DeltaInfoBar.Resources res = (DeltaInfoBar.Resources) GWT.create(DeltaInfoBar.Resources.class);