@Test
public void shouldFormatFileSize() {

    assertThat(FileUtilities.fileSizeUnits(1), is("1 B"));
    assertThat(FileUtilities.fileSizeUnits(1024), is("1.00 KB"));
    assertThat(FileUtilities.fileSizeUnits(1025), is("1.00 KB"));
    assertThat(FileUtilities.fileSizeUnits(1048576), is("1.00 MB"));
    assertThat(FileUtilities.fileSizeUnits(1048577), is("1.00 MB"));
    assertThat(FileUtilities.fileSizeUnits(1073741824), is("1.00 GB"));
    assertThat(FileUtilities.fileSizeUnits(1073741825), is("1.00 GB"));
}