@Test (expected = UnsupportedFileSystemException.class)
public void testDenyGetAllocationFileFromUnsupportedFileSystem()
    throws UnsupportedFileSystemException {

  conf.set(FairSchedulerConfiguration.ALLOCATION_FILE, "badfs:///badfile");
  AllocationFileLoaderService allocLoader =
      new AllocationFileLoaderService(scheduler);
  allocLoader.getAllocationFile(conf);
}