@Test
public void testBufferSizeParam() {

  final BufferSizeParam p = new BufferSizeParam(BufferSizeParam.DEFAULT);
  Assert.assertEquals(null, p.getValue());
  Assert.assertEquals(
      conf.getInt(CommonConfigurationKeysPublic.IO_FILE_BUFFER_SIZE_KEY,
          CommonConfigurationKeysPublic.IO_FILE_BUFFER_SIZE_DEFAULT),
      p.getValue(conf));
  new BufferSizeParam(1);
  try {
    new BufferSizeParam(0);
    Assert.fail();
  } catch(IllegalArgumentException e) {
    LOG.info("EXPECTED: " + e);
  }
}