@Test (dataProvider = "testToStringDataProvider")
  public void testToString(long size, String expectedResult) throws Exception {
    FileSize fileSize = new FileSize(size);
    Assert.assertEquals(fileSize.toString(), expectedResult);
  }
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