@Test(expected = IllegalArgumentException.class)
public void testSelectFileSetRollbackVersionWithEmptyInput() {

  FileSetInfo fileSetInfo = new FileSetInfo();
  fileSetInfo.numVersionsToKeep = 4;
  fileSetInfo.oldServingInfoList = ImmutableList.of(
      new FileSetInfo.ServingInfo("/hdfs/path/1", "resource", 1000, PartitionerType.MODULUS),
      new FileSetInfo.ServingInfo("/hdfs/path/2", "resource", 1000, PartitionerType.MODULUS),
      new FileSetInfo.ServingInfo("/hdfs/path/3", "resource", 1000, PartitionerType.MODULUS)
  );
  ByteArrayInputStream inputStream = new ByteArrayInputStream(new byte[0]);
  TerrapinAdmin.selectFileSetRollbackVersion(fileSetInfo, inputStream);
}