@Test
public void testConversionWithInvalidPlacementRules() throws Exception {

  config = new Configuration(false);
  config.set(FairSchedulerConfiguration.ALLOCATION_FILE,
      FS_INVALID_PLACEMENT_RULES_XML);
  config.setBoolean(FairSchedulerConfiguration.MIGRATION_MODE, true);
  expectedException.expect(ServiceStateException.class);
  converter.convert(config);
}