@Test (dataProvider = "testCompareTo")
  public void testCompareTo(long size1, long size2, int result) throws Exception {
    Assert.assertEquals(new FileSize(size1).compareTo(new FileSize(size2)), result);
  }
Created with IntelliJ IDEA.
User: krzyh
Date: 10/30/13
Time: 7:43 AM
To change this template use File | Settings | File Templates.
olv-vfs/src/test/java/pl/otros/vfs/browser/table/FileSizeTest.java